aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-gpio.c')
-rw-r--r--drivers/i2c/busses/i2c-gpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index a651779..53852cb 100644
--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -211,7 +211,11 @@ static int __init i2c_gpio_init(void)
return ret;
}
+#ifdef CONFIG_FAST_RESUME
+beforeresume_initcall(i2c_gpio_init);
+#else
subsys_initcall(i2c_gpio_init);
+#endif
static void __exit i2c_gpio_exit(void)
{