diff options
author | Antonio Ospite <ospite@studenti.unina.it> | 2009-08-06 19:08:52 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-09-17 03:47:11 -0400 |
commit | e397e7ed50e3fb573aa5de183ae308dc7bf20b9e (patch) | |
tree | 8e1ac224eb718c10c9dd0da00bf232b0bcd26431 /drivers/regulator/pcap-regulator.c | |
parent | d4d6b722e780f005f0d4e43a43909fa51cc33a11 (diff) |
regulator: register pcap earlier
Register pcap-regulator earlier so it can be used with cpufreq
Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/regulator/pcap-regulator.c')
-rw-r--r-- | drivers/regulator/pcap-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pcap-regulator.c b/drivers/regulator/pcap-regulator.c index fdb90940ef0f..137b455ecb44 100644 --- a/drivers/regulator/pcap-regulator.c +++ b/drivers/regulator/pcap-regulator.c | |||
@@ -310,7 +310,7 @@ static void __exit pcap_regulator_exit(void) | |||
310 | platform_driver_unregister(&pcap_regulator_driver); | 310 | platform_driver_unregister(&pcap_regulator_driver); |
311 | } | 311 | } |
312 | 312 | ||
313 | module_init(pcap_regulator_init); | 313 | subsys_initcall(pcap_regulator_init); |
314 | module_exit(pcap_regulator_exit); | 314 | module_exit(pcap_regulator_exit); |
315 | 315 | ||
316 | MODULE_AUTHOR("Daniel Ribeiro <drwyrm@gmail.com>"); | 316 | MODULE_AUTHOR("Daniel Ribeiro <drwyrm@gmail.com>"); |