diff mbox

sh: fix i2c init order on Migo-R V2

Message ID 20090807035105.5997.74189.sendpatchset@rx1.opensource.se (mailing list archive)
State Accepted
Headers show

Commit Message

Magnus Damm Aug. 7, 2009, 3:51 a.m. UTC
From: Magnus Damm <damm@igel.co.jp>

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>
---

 Suitable for 2.6.31-rc.

 arch/sh/boards/mach-migor/setup.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Paul Mundt Aug. 13, 2009, 3:04 a.m. UTC | #1
On Fri, Aug 07, 2009 at 12:51:05PM +0900, Magnus Damm wrote:
> 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.

On Fri, Aug 07, 2009 at 12:52:18PM +0900, Magnus Damm wrote:
> Convert the AP325RXA board code to register devices at
> arch_initcall() time instead of device_initcall(). This
> fix unbreaks pcf8563 RTC driver support.

Applied to 2.6.31 queue, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 0001/arch/sh/boards/mach-migor/setup.c
+++ work/arch/sh/boards/mach-migor/setup.c	2009-08-07 12:09:28.000000000 +0900
@@ -608,7 +608,7 @@  static int __init migor_devices_setup(vo
 
 	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)