]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4958/2: tosa: fix i2c registration.
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Thu, 10 Apr 2008 14:43:18 +0000 (15:43 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Apr 2008 10:29:08 +0000 (11:29 +0100)
Add a call to pxa_set_i2c_info() to force i2c registration

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/tosa.c

index 7d35f9ef8567aafb6796261da7b8133a0d6664fb..df65e89d193444e011266b2f60ab7441d20cf896 100644 (file)
@@ -34,6 +34,7 @@
 #include <asm/arch/pxa2xx-regs.h>
 #include <asm/arch/mfp-pxa25x.h>
 #include <asm/arch/irda.h>
+#include <asm/arch/i2c.h>
 #include <asm/arch/mmc.h>
 #include <asm/arch/udc.h>
 
@@ -416,6 +417,7 @@ static void __init tosa_init(void)
        pxa_set_mci_info(&tosa_mci_platform_data);
        pxa_set_udc_info(&udc_info);
        pxa_set_ficp_info(&tosa_ficp_platform_data);
+       pxa_set_i2c_info(NULL);
        platform_scoop_config = &tosa_pcmcia_config;
 
        platform_add_devices(devices, ARRAY_SIZE(devices));