summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-08-13 11:39:02 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-13 11:39:02 +0900
commitba3a17019181af5d6ab898760620c4e9916396c2 (patch)
treebb62e65fbaa2939764efa79daa510ad6f444fd2b /arch
parentba9a633787eed1e90d587282642580ad3d44f7fd (diff)
downloadop-kernel-dev-ba3a17019181af5d6ab898760620c4e9916396c2.zip
op-kernel-dev-ba3a17019181af5d6ab898760620c4e9916396c2.tar.gz
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 <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/boards/mach-migor/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c
index f70f4644..f9b2e4d 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)
OpenPOWER on IntegriCloud