diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-zoom-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-zoom-peripherals.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c index bc8232845d7a..86c9b2102952 100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/regulator/machine.h> | 18 | #include <linux/regulator/machine.h> |
19 | #include <linux/regulator/fixed.h> | 19 | #include <linux/regulator/fixed.h> |
20 | #include <linux/wl12xx.h> | 20 | #include <linux/wl12xx.h> |
21 | #include <linux/mmc/host.h> | ||
21 | 22 | ||
22 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
23 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
@@ -35,7 +36,7 @@ | |||
35 | #define OMAP_ZOOM_WLAN_IRQ_GPIO (162) | 36 | #define OMAP_ZOOM_WLAN_IRQ_GPIO (162) |
36 | 37 | ||
37 | /* Zoom2 has Qwerty keyboard*/ | 38 | /* Zoom2 has Qwerty keyboard*/ |
38 | static int board_keymap[] = { | 39 | static uint32_t board_keymap[] = { |
39 | KEY(0, 0, KEY_E), | 40 | KEY(0, 0, KEY_E), |
40 | KEY(0, 1, KEY_R), | 41 | KEY(0, 1, KEY_R), |
41 | KEY(0, 2, KEY_T), | 42 | KEY(0, 2, KEY_T), |
@@ -199,14 +200,14 @@ static struct omap2_hsmmc_info mmc[] __initdata = { | |||
199 | { | 200 | { |
200 | .name = "external", | 201 | .name = "external", |
201 | .mmc = 1, | 202 | .mmc = 1, |
202 | .wires = 4, | 203 | .caps = MMC_CAP_4_BIT_DATA, |
203 | .gpio_wp = -EINVAL, | 204 | .gpio_wp = -EINVAL, |
204 | .power_saving = true, | 205 | .power_saving = true, |
205 | }, | 206 | }, |
206 | { | 207 | { |
207 | .name = "internal", | 208 | .name = "internal", |
208 | .mmc = 2, | 209 | .mmc = 2, |
209 | .wires = 8, | 210 | .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, |
210 | .gpio_cd = -EINVAL, | 211 | .gpio_cd = -EINVAL, |
211 | .gpio_wp = -EINVAL, | 212 | .gpio_wp = -EINVAL, |
212 | .nonremovable = true, | 213 | .nonremovable = true, |
@@ -348,4 +349,5 @@ void __init zoom_peripherals_init(void) | |||
348 | platform_device_register(&omap_vwlan_device); | 349 | platform_device_register(&omap_vwlan_device); |
349 | usb_musb_init(&musb_board_data); | 350 | usb_musb_init(&musb_board_data); |
350 | enable_board_wakeup_source(); | 351 | enable_board_wakeup_source(); |
352 | omap_serial_init(); | ||
351 | } | 353 | } |