Commit 2021de87 authored by Samuel Ortiz's avatar Samuel Ortiz Committed by Samuel Ortiz

mfd: early init for MFD running regulators

For MFDs running regulator cores, we really want them to be brought up early
during boot.
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarMike Rapoport <mike@compulab.co.il>
parent 4d3792e0
......@@ -561,7 +561,7 @@ static int __init da903x_init(void)
{
return i2c_add_driver(&da903x_driver);
}
module_init(da903x_init);
subsys_initcall(da903x_init);
static void __exit da903x_exit(void)
{
......
......@@ -705,5 +705,5 @@ MODULE_DESCRIPTION("I2C chip driver for NXP PCF50633 PMU");
MODULE_AUTHOR("Harald Welte <laforge@openmoko.org>");
MODULE_LICENSE("GPL");
module_init(pcf50633_init);
subsys_initcall(pcf50633_init);
module_exit(pcf50633_exit);
......@@ -460,7 +460,7 @@ static int __init wm8400_module_init(void)
return ret;
}
module_init(wm8400_module_init);
subsys_initcall(wm8400_module_init);
static void __exit wm8400_module_exit(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment