mfd: Initialise the AB8500 driver at core_initcall time
authorLee Jones <lee.jones@linaro.org>
Mon, 11 Jun 2012 15:25:00 +0000 (16:25 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:09 +0000 (00:16 +0200)
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>
drivers/mfd/ab8500-core.c

index a19f520e2c7232265fbd908b34cad03c93472c2b..8de3b659626eed0c84e461ef64f9610f44b608e0 100644 (file)
@@ -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");