aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max77686.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/max77686.c')
-rw-r--r--drivers/mfd/max77686.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/max77686.c b/drivers/mfd/max77686.c
index 9f5004d..ac95523 100644
--- a/drivers/mfd/max77686.c
+++ b/drivers/mfd/max77686.c
@@ -394,7 +394,11 @@ static int __init max77686_i2c_init(void)
return i2c_add_driver(&max77686_i2c_driver);
}
/* init early so consumer devices can complete system boot */
+#ifdef CONFIG_FAST_RESUME
+beforeresume_initcall(max77686_i2c_init);
+#else
subsys_initcall(max77686_i2c_init);
+#endif
static void __exit max77686_i2c_exit(void)
{