diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-04-10 10:43:18 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-04-19 06:29:08 -0400 |
commit | 481ea5a16aaabe2570d56b5a4d29fa80adc8008b (patch) | |
tree | 3faea590e21d7834e79bed97dd82d95589c57eee /arch/arm/mach-pxa/tosa.c | |
parent | 2cb4734232e62ee95c1f7dafdc032b652eef49d7 (diff) |
[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>
Diffstat (limited to 'arch/arm/mach-pxa/tosa.c')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 7d35f9ef8567..df65e89d1934 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <asm/arch/pxa2xx-regs.h> | 34 | #include <asm/arch/pxa2xx-regs.h> |
35 | #include <asm/arch/mfp-pxa25x.h> | 35 | #include <asm/arch/mfp-pxa25x.h> |
36 | #include <asm/arch/irda.h> | 36 | #include <asm/arch/irda.h> |
37 | #include <asm/arch/i2c.h> | ||
37 | #include <asm/arch/mmc.h> | 38 | #include <asm/arch/mmc.h> |
38 | #include <asm/arch/udc.h> | 39 | #include <asm/arch/udc.h> |
39 | 40 | ||
@@ -416,6 +417,7 @@ static void __init tosa_init(void) | |||
416 | pxa_set_mci_info(&tosa_mci_platform_data); | 417 | pxa_set_mci_info(&tosa_mci_platform_data); |
417 | pxa_set_udc_info(&udc_info); | 418 | pxa_set_udc_info(&udc_info); |
418 | pxa_set_ficp_info(&tosa_ficp_platform_data); | 419 | pxa_set_ficp_info(&tosa_ficp_platform_data); |
420 | pxa_set_i2c_info(NULL); | ||
419 | platform_scoop_config = &tosa_pcmcia_config; | 421 | platform_scoop_config = &tosa_pcmcia_config; |
420 | 422 | ||
421 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 423 | platform_add_devices(devices, ARRAY_SIZE(devices)); |