summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-06-11 17:25:00 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:09 +0200
commitba7cbc3e15df1eb34a3a986b52ac82db3a569ab9 (patch)
tree99d75920261b84d49980c2ff33c91f07012c05c1
parentmfd: Initialise the DB8500 PRCMU driver at core_initcall time (diff)
downloadlinux-ba7cbc3e15df1eb34a3a986b52ac82db3a569ab9.tar.xz
linux-ba7cbc3e15df1eb34a3a986b52ac82db3a569ab9.zip
mfd: Initialise the AB8500 driver at core_initcall time
The AB8500 is soon to have its own IRQ domain. For this to be useful the driver needs to be initialised earlier in the boot sequence. Here we move initialisation forward from arch_initcall to core_initcall time. Cc: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/mfd/ab8500-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index a19f520e2c72..8de3b659626e 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -1494,7 +1494,7 @@ static void __exit ab8500_core_exit(void)
{
platform_driver_unregister(&ab8500_core_driver);
}
-arch_initcall(ab8500_core_init);
+core_initcall(ab8500_core_init);
module_exit(ab8500_core_exit);
MODULE_AUTHOR("Mattias Wallin, Srinidhi Kasagar, Rabin Vincent");