Commit ba3a1701 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt

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: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent ba9a6337
...@@ -608,7 +608,7 @@ static int __init migor_devices_setup(void) ...@@ -608,7 +608,7 @@ static int __init migor_devices_setup(void)
return platform_add_devices(migor_devices, ARRAY_SIZE(migor_devices)); 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 */ /* Return the board specific boot mode pin configuration */
static int migor_mode_pins(void) static int migor_mode_pins(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment