Commit 2021de874e9f09774616772cfdefdab0e6193b09

Authored by Samuel Ortiz
Committed by Samuel Ortiz
1 parent 4d3792e054

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: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>

Showing 3 changed files with 3 additions and 3 deletions Side-by-side Diff

drivers/mfd/da903x.c
... ... @@ -561,7 +561,7 @@
561 561 {
562 562 return i2c_add_driver(&da903x_driver);
563 563 }
564   -module_init(da903x_init);
  564 +subsys_initcall(da903x_init);
565 565  
566 566 static void __exit da903x_exit(void)
567 567 {
drivers/mfd/pcf50633-core.c
... ... @@ -705,6 +705,6 @@
705 705 MODULE_AUTHOR("Harald Welte <laforge@openmoko.org>");
706 706 MODULE_LICENSE("GPL");
707 707  
708   -module_init(pcf50633_init);
  708 +subsys_initcall(pcf50633_init);
709 709 module_exit(pcf50633_exit);
drivers/mfd/wm8400-core.c
... ... @@ -460,7 +460,7 @@
460 460  
461 461 return ret;
462 462 }
463   -module_init(wm8400_module_init);
  463 +subsys_initcall(wm8400_module_init);
464 464  
465 465 static void __exit wm8400_module_exit(void)
466 466 {