diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-04-02 19:06:27 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-09 06:07:55 -0400 |
commit | caa62d642634e25cf4316b286abac54a70fd5a6a (patch) | |
tree | dd2e13665a58eb30e1ec77c6d627ec4175ca06ea /drivers/mfd/ab8500-sysctrl.c | |
parent | 741cdecfc5255085d348ccaad1d1befbd6ae9222 (diff) |
mfd: ab8500: sysctrl: Initialize driver at arch_initcall
The abx500-clk driver is initiated at arch_initcall level. Moreover it
is relying on the ab8500-sysctrl API to be available. Therefore move
ab8500-sysctrl to arch_initcall level as well. The device is already
added before the abx500 clk device, thus it will be probed before as
well, which is exactly what we want.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-sysctrl.c')
-rw-r--r-- | drivers/mfd/ab8500-sysctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-sysctrl.c b/drivers/mfd/ab8500-sysctrl.c index 272479cdb107..fbca1ced49fa 100644 --- a/drivers/mfd/ab8500-sysctrl.c +++ b/drivers/mfd/ab8500-sysctrl.c | |||
@@ -242,7 +242,7 @@ static int __init ab8500_sysctrl_init(void) | |||
242 | { | 242 | { |
243 | return platform_driver_register(&ab8500_sysctrl_driver); | 243 | return platform_driver_register(&ab8500_sysctrl_driver); |
244 | } | 244 | } |
245 | subsys_initcall(ab8500_sysctrl_init); | 245 | arch_initcall(ab8500_sysctrl_init); |
246 | 246 | ||
247 | MODULE_AUTHOR("Mattias Nilsson <mattias.i.nilsson@stericsson.com"); | 247 | MODULE_AUTHOR("Mattias Nilsson <mattias.i.nilsson@stericsson.com"); |
248 | MODULE_DESCRIPTION("AB8500 system control driver"); | 248 | MODULE_DESCRIPTION("AB8500 system control driver"); |