From: Dmitry Baryshkov Date: Thu, 10 Apr 2008 14:43:18 +0000 (+0100) Subject: [ARM] 4958/2: tosa: fix i2c registration. X-Git-Tag: v2.6.26-rc1~1131^2~2^10~18 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=481ea5a16aaabe2570d56b5a4d29fa80adc8008b;p=linux-2.6-omap-h63xx.git [ARM] 4958/2: tosa: fix i2c registration. Add a call to pxa_set_i2c_info() to force i2c registration Signed-off-by: Dmitry Baryshkov Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 7d35f9ef856..df65e89d193 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include @@ -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));