sh: fix i2c init order on Migo-R V2
authorMagnus Damm <damm@igel.co.jp>
Thu, 13 Aug 2009 02:39:02 +0000 (11:39 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 13 Aug 2009 02:39:02 +0000 (11:39 +0900)
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 <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-migor/setup.c

index f70f464..f9b2e4d 100644 (file)
@@ -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)