From: Magnus Damm Date: Thu, 13 Aug 2009 02:39:02 +0000 (+0900) Subject: sh: fix i2c init order on Migo-R V2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba3a17019181af5d6ab898760620c4e9916396c2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git sh: fix i2c init order on Migo-R V2 Convert the Migo-R board code to register devices at arch_initcall() time instead of __initcall(). This fix unbreaks migor_ts touch screen driver support. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index f70f4644deb4..f9b2e4df35b9 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -608,7 +608,7 @@ static int __init migor_devices_setup(void) return platform_add_devices(migor_devices, ARRAY_SIZE(migor_devices)); } -__initcall(migor_devices_setup); +arch_initcall(migor_devices_setup); /* Return the board specific boot mode pin configuration */ static int migor_mode_pins(void)