aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/fixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/fixed.c')
-rw-r--r--drivers/regulator/fixed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 2fe9d99c..153d35b 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -229,7 +229,11 @@ static int __init regulator_fixed_voltage_init(void)
{
return platform_driver_register(&regulator_fixed_voltage_driver);
}
+#ifdef CONFIG_FAST_RESUME
+beforeresume_initcall(regulator_fixed_voltage_init);
+#else
subsys_initcall(regulator_fixed_voltage_init);
+#endif
static void __exit regulator_fixed_voltage_exit(void)
{