From: Lee Jones Date: Mon, 11 Jun 2012 15:25:00 +0000 (+0100) Subject: mfd: Initialise the AB8500 driver at core_initcall time X-Git-Tag: v3.6-rc1~47^2~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba7cbc3e15df1eb34a3a986b52ac82db3a569ab9;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Lee Jones Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index a19f520..8de3b65 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");