[ARM] 4901/3: mainstone: Register primary I2C bus
authorMark Brown <broonie@sirena.org.uk>
Mon, 7 Apr 2008 16:16:34 +0000 (17:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Apr 2008 10:29:06 +0000 (11:29 +0100)
Mainstone has the primary I2C bus exposed for use on plugin modules.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: eric miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/mainstone.c

index e0f5f97e967f7dfb2c5421b6ab123dc8c34d5d68..18d47cfa2a188884fa48dd9886409d905c389fde 100644 (file)
@@ -46,6 +46,7 @@
 #include <asm/arch/mainstone.h>
 #include <asm/arch/audio.h>
 #include <asm/arch/pxafb.h>
+#include <asm/arch/i2c.h>
 #include <asm/arch/mmc.h>
 #include <asm/arch/irda.h>
 #include <asm/arch/ohci.h>
@@ -637,6 +638,7 @@ static void __init mainstone_init(void)
        pxa_set_mci_info(&mainstone_mci_platform_data);
        pxa_set_ficp_info(&mainstone_ficp_platform_data);
        pxa_set_ohci_info(&mainstone_ohci_platform_data);
+       pxa_set_i2c_info(NULL);
 
        mainstone_init_keypad();
 }