Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ARM] 4958/2: tosa: fix i2c registration.

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>

authored by

Dmitry Baryshkov and committed by
Russell King
481ea5a1 2cb47342

+2
+2
arch/arm/mach-pxa/tosa.c
··· 34 34 #include <asm/arch/pxa2xx-regs.h> 35 35 #include <asm/arch/mfp-pxa25x.h> 36 36 #include <asm/arch/irda.h> 37 + #include <asm/arch/i2c.h> 37 38 #include <asm/arch/mmc.h> 38 39 #include <asm/arch/udc.h> 39 40 ··· 417 416 pxa_set_mci_info(&tosa_mci_platform_data); 418 417 pxa_set_udc_info(&udc_info); 419 418 pxa_set_ficp_info(&tosa_ficp_platform_data); 419 + pxa_set_i2c_info(NULL); 420 420 platform_scoop_config = &tosa_pcmcia_config; 421 421 422 422 platform_add_devices(devices, ARRAY_SIZE(devices));