diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
| -rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index f28fd77bceb3..001fd9713f39 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #include <linux/i2c/twl.h> | 27 | #include <linux/i2c/twl.h> |
| 28 | #include <linux/io.h> | 28 | #include <linux/io.h> |
| 29 | #include <linux/smsc911x.h> | 29 | #include <linux/smsc911x.h> |
| 30 | #include <linux/mmc/host.h> | ||
| 30 | 31 | ||
| 31 | #include <mach/hardware.h> | 32 | #include <mach/hardware.h> |
| 32 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
| @@ -41,11 +42,12 @@ | |||
| 41 | #include <mach/board-zoom.h> | 42 | #include <mach/board-zoom.h> |
| 42 | 43 | ||
| 43 | #include <asm/delay.h> | 44 | #include <asm/delay.h> |
| 44 | #include <plat/control.h> | ||
| 45 | #include <plat/usb.h> | 45 | #include <plat/usb.h> |
| 46 | 46 | ||
| 47 | #include "board-flash.h" | ||
| 47 | #include "mux.h" | 48 | #include "mux.h" |
| 48 | #include "hsmmc.h" | 49 | #include "hsmmc.h" |
| 50 | #include "control.h" | ||
| 49 | 51 | ||
| 50 | #define LDP_SMSC911X_CS 1 | 52 | #define LDP_SMSC911X_CS 1 |
| 51 | #define LDP_SMSC911X_GPIO 152 | 53 | #define LDP_SMSC911X_GPIO 152 |
| @@ -82,7 +84,7 @@ static struct platform_device ldp_smsc911x_device = { | |||
| 82 | }, | 84 | }, |
| 83 | }; | 85 | }; |
| 84 | 86 | ||
| 85 | static int board_keymap[] = { | 87 | static uint32_t board_keymap[] = { |
| 86 | KEY(0, 0, KEY_1), | 88 | KEY(0, 0, KEY_1), |
| 87 | KEY(1, 0, KEY_2), | 89 | KEY(1, 0, KEY_2), |
| 88 | KEY(2, 0, KEY_3), | 90 | KEY(2, 0, KEY_3), |
| @@ -362,7 +364,7 @@ static int __init omap_i2c_init(void) | |||
| 362 | static struct omap2_hsmmc_info mmc[] __initdata = { | 364 | static struct omap2_hsmmc_info mmc[] __initdata = { |
| 363 | { | 365 | { |
| 364 | .mmc = 1, | 366 | .mmc = 1, |
| 365 | .wires = 4, | 367 | .caps = MMC_CAP_4_BIT_DATA, |
| 366 | .gpio_cd = -EINVAL, | 368 | .gpio_cd = -EINVAL, |
| 367 | .gpio_wp = -EINVAL, | 369 | .gpio_wp = -EINVAL, |
| 368 | }, | 370 | }, |
