diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 934d9380c372..63f764e2af3f 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/i2c/at24.h> | 31 | #include <linux/i2c/at24.h> |
32 | #include <linux/i2c/twl.h> | 32 | #include <linux/i2c/twl.h> |
33 | #include <linux/regulator/machine.h> | 33 | #include <linux/regulator/machine.h> |
34 | #include <linux/mmc/host.h> | ||
34 | 35 | ||
35 | #include <linux/spi/spi.h> | 36 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/tdo24m.h> | 37 | #include <linux/spi/tdo24m.h> |
@@ -237,8 +238,6 @@ static inline void cm_t35_init_nand(void) {} | |||
237 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) | 238 | defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) |
238 | #include <linux/spi/ads7846.h> | 239 | #include <linux/spi/ads7846.h> |
239 | 240 | ||
240 | #include <plat/mcspi.h> | ||
241 | |||
242 | static struct omap2_mcspi_device_config ads7846_mcspi_config = { | 241 | static struct omap2_mcspi_device_config ads7846_mcspi_config = { |
243 | .turbo_mode = 0, | 242 | .turbo_mode = 0, |
244 | .single_channel = 1, /* 0: slave, 1: master */ | 243 | .single_channel = 1, /* 0: slave, 1: master */ |
@@ -558,7 +557,7 @@ static struct twl4030_usb_data cm_t35_usb_data = { | |||
558 | .usb_mode = T2_USB_MODE_ULPI, | 557 | .usb_mode = T2_USB_MODE_ULPI, |
559 | }; | 558 | }; |
560 | 559 | ||
561 | static int cm_t35_keymap[] = { | 560 | static uint32_t cm_t35_keymap[] = { |
562 | KEY(0, 0, KEY_A), KEY(0, 1, KEY_B), KEY(0, 2, KEY_LEFT), | 561 | KEY(0, 0, KEY_A), KEY(0, 1, KEY_B), KEY(0, 2, KEY_LEFT), |
563 | KEY(1, 0, KEY_UP), KEY(1, 1, KEY_ENTER), KEY(1, 2, KEY_DOWN), | 562 | KEY(1, 0, KEY_UP), KEY(1, 1, KEY_ENTER), KEY(1, 2, KEY_DOWN), |
564 | KEY(2, 0, KEY_RIGHT), KEY(2, 1, KEY_C), KEY(2, 2, KEY_D), | 563 | KEY(2, 0, KEY_RIGHT), KEY(2, 1, KEY_C), KEY(2, 2, KEY_D), |
@@ -579,14 +578,14 @@ static struct twl4030_keypad_data cm_t35_kp_data = { | |||
579 | static struct omap2_hsmmc_info mmc[] = { | 578 | static struct omap2_hsmmc_info mmc[] = { |
580 | { | 579 | { |
581 | .mmc = 1, | 580 | .mmc = 1, |
582 | .wires = 4, | 581 | .caps = MMC_CAP_4_BIT_DATA, |
583 | .gpio_cd = -EINVAL, | 582 | .gpio_cd = -EINVAL, |
584 | .gpio_wp = -EINVAL, | 583 | .gpio_wp = -EINVAL, |
585 | 584 | ||
586 | }, | 585 | }, |
587 | { | 586 | { |
588 | .mmc = 2, | 587 | .mmc = 2, |
589 | .wires = 4, | 588 | .caps = MMC_CAP_4_BIT_DATA, |
590 | .transceiver = 1, | 589 | .transceiver = 1, |
591 | .gpio_cd = -EINVAL, | 590 | .gpio_cd = -EINVAL, |
592 | .gpio_wp = -EINVAL, | 591 | .gpio_wp = -EINVAL, |