aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/board-rx51-peripherals.c5
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
110static 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