Skip to content

Commit 481ea5a

Browse files
lumagRussell King
authored andcommitted
[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>
1 parent 2cb4734 commit 481ea5a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/arm/mach-pxa/tosa.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <asm/arch/pxa2xx-regs.h>
3535
#include <asm/arch/mfp-pxa25x.h>
3636
#include <asm/arch/irda.h>
37+
#include <asm/arch/i2c.h>
3738
#include <asm/arch/mmc.h>
3839
#include <asm/arch/udc.h>
3940

@@ -416,6 +417,7 @@ static void __init tosa_init(void)
416417
pxa_set_mci_info(&tosa_mci_platform_data);
417418
pxa_set_udc_info(&udc_info);
418419
pxa_set_ficp_info(&tosa_ficp_platform_data);
420+
pxa_set_i2c_info(NULL);
419421
platform_scoop_config = &tosa_pcmcia_config;
420422

421423
platform_add_devices(devices, ARRAY_SIZE(devices));

0 commit comments

Comments
 (0)