diff options
author | 2009-08-13 11:39:02 +0900 | |
---|---|---|
committer | 2009-08-13 11:39:02 +0900 | |
commit | ba3a17019181af5d6ab898760620c4e9916396c2 (patch) | |
tree | bb62e65fbaa2939764efa79daa510ad6f444fd2b | |
parent | sh: convert processor device setup functions to arch_initcall() (diff) | |
download | linux-ba3a17019181af5d6ab898760620c4e9916396c2.tar.gz linux-ba3a17019181af5d6ab898760620c4e9916396c2.tar.bz2 linux-ba3a17019181af5d6ab898760620c4e9916396c2.zip |
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>
-rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 2 |
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 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) |