diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 4827f4658df3..395d049bf010 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -459,12 +459,20 @@ static struct i2c_board_info __initdata omap3pandora_i2c_boardinfo[] = { | |||
459 | }, | 459 | }, |
460 | }; | 460 | }; |
461 | 461 | ||
462 | static struct i2c_board_info __initdata omap3pandora_i2c3_boardinfo[] = { | ||
463 | { | ||
464 | I2C_BOARD_INFO("bq27500", 0x55), | ||
465 | .flags = I2C_CLIENT_WAKE, | ||
466 | }, | ||
467 | }; | ||
468 | |||
462 | static int __init omap3pandora_i2c_init(void) | 469 | static int __init omap3pandora_i2c_init(void) |
463 | { | 470 | { |
464 | omap_register_i2c_bus(1, 2600, omap3pandora_i2c_boardinfo, | 471 | omap_register_i2c_bus(1, 2600, omap3pandora_i2c_boardinfo, |
465 | ARRAY_SIZE(omap3pandora_i2c_boardinfo)); | 472 | ARRAY_SIZE(omap3pandora_i2c_boardinfo)); |
466 | /* i2c2 pins are not connected */ | 473 | /* i2c2 pins are not connected */ |
467 | omap_register_i2c_bus(3, 100, NULL, 0); | 474 | omap_register_i2c_bus(3, 100, omap3pandora_i2c3_boardinfo, |
475 | ARRAY_SIZE(omap3pandora_i2c3_boardinfo)); | ||
468 | return 0; | 476 | return 0; |
469 | } | 477 | } |
470 | 478 | ||
@@ -537,7 +545,7 @@ static struct platform_device *omap3pandora_devices[] __initdata = { | |||
537 | &pandora_dss_device, | 545 | &pandora_dss_device, |
538 | }; | 546 | }; |
539 | 547 | ||
540 | static struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { | 548 | static const struct ehci_hcd_omap_platform_data ehci_pdata __initconst = { |
541 | 549 | ||
542 | .port_mode[0] = EHCI_HCD_OMAP_MODE_PHY, | 550 | .port_mode[0] = EHCI_HCD_OMAP_MODE_PHY, |
543 | .port_mode[1] = EHCI_HCD_OMAP_MODE_UNKNOWN, | 551 | .port_mode[1] = EHCI_HCD_OMAP_MODE_UNKNOWN, |