diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-06-15 12:04:54 -0400 |
---|---|---|
committer | Samuel Ortiz <sameol@linux.intel.com> | 2009-06-17 13:41:54 -0400 |
commit | 2021de874e9f09774616772cfdefdab0e6193b09 (patch) | |
tree | 4b4c205359dd72e221c8e8a3821a84fd0c14cef6 /drivers | |
parent | 4d3792e054f706f73837769a0e5607b3b7ad25a2 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/da903x.c | 2 | ||||
-rw-r--r-- | drivers/mfd/pcf50633-core.c | 2 | ||||
-rw-r--r-- | drivers/mfd/wm8400-core.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/da903x.c b/drivers/mfd/da903x.c index 7283d88656af..e5ffe5617393 100644 --- a/drivers/mfd/da903x.c +++ b/drivers/mfd/da903x.c | |||
@@ -561,7 +561,7 @@ static int __init da903x_init(void) | |||
561 | { | 561 | { |
562 | return i2c_add_driver(&da903x_driver); | 562 | return i2c_add_driver(&da903x_driver); |
563 | } | 563 | } |
564 | module_init(da903x_init); | 564 | subsys_initcall(da903x_init); |
565 | 565 | ||
566 | static void __exit da903x_exit(void) | 566 | static void __exit da903x_exit(void) |
567 | { | 567 | { |
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c index 082c197ab9b8..8d3c38bf9714 100644 --- a/drivers/mfd/pcf50633-core.c +++ b/drivers/mfd/pcf50633-core.c | |||
@@ -705,5 +705,5 @@ MODULE_DESCRIPTION("I2C chip driver for NXP PCF50633 PMU"); | |||
705 | MODULE_AUTHOR("Harald Welte <laforge@openmoko.org>"); | 705 | MODULE_AUTHOR("Harald Welte <laforge@openmoko.org>"); |
706 | MODULE_LICENSE("GPL"); | 706 | MODULE_LICENSE("GPL"); |
707 | 707 | ||
708 | module_init(pcf50633_init); | 708 | subsys_initcall(pcf50633_init); |
709 | module_exit(pcf50633_exit); | 709 | module_exit(pcf50633_exit); |
diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c index 7c21bf791569..ecfc8bbe89b9 100644 --- a/drivers/mfd/wm8400-core.c +++ b/drivers/mfd/wm8400-core.c | |||
@@ -460,7 +460,7 @@ static int __init wm8400_module_init(void) | |||
460 | 460 | ||
461 | return ret; | 461 | return ret; |
462 | } | 462 | } |
463 | module_init(wm8400_module_init); | 463 | subsys_initcall(wm8400_module_init); |
464 | 464 | ||
465 | static void __exit wm8400_module_exit(void) | 465 | static void __exit wm8400_module_exit(void) |
466 | { | 466 | { |