diff options
| -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 9a5eb87425fc..a4b1f8bdff43 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
| @@ -104,6 +104,10 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | |||
| 104 | }, | 104 | }, |
| 105 | }; | 105 | }; |
| 106 | 106 | ||
| 107 | static struct platform_device rx51_charger_device = { | ||
| 108 | .name = "isp1704_charger", | ||
| 109 | }; | ||
| 110 | |||
| 107 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 111 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
| 108 | 112 | ||
| 109 | #define RX51_GPIO_CAMERA_LENS_COVER 110 | 113 | #define RX51_GPIO_CAMERA_LENS_COVER 110 |
| @@ -909,5 +913,6 @@ void __init rx51_peripherals_init(void) | |||
| 909 | spi_register_board_info(rx51_peripherals_spi_board_info, | 913 | spi_register_board_info(rx51_peripherals_spi_board_info, |
| 910 | ARRAY_SIZE(rx51_peripherals_spi_board_info)); | 914 | ARRAY_SIZE(rx51_peripherals_spi_board_info)); |
| 911 | omap2_hsmmc_init(mmc); | 915 | omap2_hsmmc_init(mmc); |
| 916 | platform_device_register(&rx51_charger_device); | ||
| 912 | } | 917 | } |
| 913 | 918 | ||
