diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 13:14:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 13:14:23 -0400 |
commit | 45352bbf48e95078b4acd20774f49e72676e1e0f (patch) | |
tree | 7c7121dae3f4ecebb1c08cea5f3b3d1c6c531756 /arch/arm/mach-omap2 | |
parent | da62aa69c181e3bd465a5c868ece166921a81e14 (diff) | |
parent | 57894517139b283a3cf27e36b29b4b4d7c45b303 (diff) |
Merge git://git.infradead.org/battery-2.6
* git://git.infradead.org/battery-2.6:
power_supply: Makefile cleanup
bq27x00_battery: Add missing kfree(di->bus) in bq27x00_battery_remove()
power_supply: Introduce maximum current property
power_supply: Add types for USB chargers
ds2782_battery: Fix units
power_supply: Add driver for TWL4030/TPS65950 BCI charger
bq20z75: Add support for more power supply properties
wm831x_power: Add missing kfree(wm831x_power) in wm831x_power_remove()
jz4740-battery: Add missing kfree(jz_battery) in jz_battery_remove()
ds2760_battery: Add missing kfree(di) in ds2760_battery_remove()
olpc_battery: Fix endian neutral breakage for s16 values
ds2760_battery: Fix W1 and W1_SLAVE_DS2760 dependency
pcf50633-charger: Add missing sysfs_remove_group()
power_supply: Add driver for TI BQ20Z75 gas gauge IC
wm831x_power: Remove duplicate chg mask
omap: rx51: Add support for USB chargers
power_supply: Add isp1704 charger detection driver
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 41285297eafc..3fec4d62a91a 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -107,6 +107,10 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | |||
107 | }, | 107 | }, |
108 | }; | 108 | }; |
109 | 109 | ||
110 | static struct platform_device rx51_charger_device = { | ||
111 | .name = "isp1704_charger", | ||
112 | }; | ||
113 | |||
110 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 114 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
111 | 115 | ||
112 | #define RX51_GPIO_CAMERA_LENS_COVER 110 | 116 | #define RX51_GPIO_CAMERA_LENS_COVER 110 |
@@ -919,5 +923,6 @@ void __init rx51_peripherals_init(void) | |||
919 | spi_register_board_info(rx51_peripherals_spi_board_info, | 923 | spi_register_board_info(rx51_peripherals_spi_board_info, |
920 | ARRAY_SIZE(rx51_peripherals_spi_board_info)); | 924 | ARRAY_SIZE(rx51_peripherals_spi_board_info)); |
921 | omap2_hsmmc_init(mmc); | 925 | omap2_hsmmc_init(mmc); |
926 | platform_device_register(&rx51_charger_device); | ||
922 | } | 927 | } |
923 | 928 | ||