diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 8936e4fba334..b04365c6bb10 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/smsc911x.h> | 31 | #include <linux/smsc911x.h> |
32 | 32 | ||
33 | #include <linux/regulator/machine.h> | 33 | #include <linux/regulator/machine.h> |
34 | #include <linux/mmc/host.h> | ||
34 | 35 | ||
35 | #include <mach/hardware.h> | 36 | #include <mach/hardware.h> |
36 | #include <asm/mach-types.h> | 37 | #include <asm/mach-types.h> |
@@ -370,7 +371,7 @@ static struct regulator_init_data omap3evm_vsim = { | |||
370 | static struct omap2_hsmmc_info mmc[] = { | 371 | static struct omap2_hsmmc_info mmc[] = { |
371 | { | 372 | { |
372 | .mmc = 1, | 373 | .mmc = 1, |
373 | .wires = 4, | 374 | .caps = MMC_CAP_4_BIT_DATA, |
374 | .gpio_cd = -EINVAL, | 375 | .gpio_cd = -EINVAL, |
375 | .gpio_wp = 63, | 376 | .gpio_wp = 63, |
376 | }, | 377 | }, |
@@ -446,7 +447,7 @@ static struct twl4030_usb_data omap3evm_usb_data = { | |||
446 | .usb_mode = T2_USB_MODE_ULPI, | 447 | .usb_mode = T2_USB_MODE_ULPI, |
447 | }; | 448 | }; |
448 | 449 | ||
449 | static int board_keymap[] = { | 450 | static uint32_t board_keymap[] = { |
450 | KEY(0, 0, KEY_LEFT), | 451 | KEY(0, 0, KEY_LEFT), |
451 | KEY(0, 1, KEY_DOWN), | 452 | KEY(0, 1, KEY_DOWN), |
452 | KEY(0, 2, KEY_ENTER), | 453 | KEY(0, 2, KEY_ENTER), |
@@ -584,7 +585,7 @@ static int ads7846_get_pendown_state(void) | |||
584 | return !gpio_get_value(OMAP3_EVM_TS_GPIO); | 585 | return !gpio_get_value(OMAP3_EVM_TS_GPIO); |
585 | } | 586 | } |
586 | 587 | ||
587 | struct ads7846_platform_data ads7846_config = { | 588 | static struct ads7846_platform_data ads7846_config = { |
588 | .x_max = 0x0fff, | 589 | .x_max = 0x0fff, |
589 | .y_max = 0x0fff, | 590 | .y_max = 0x0fff, |
590 | .x_plate_ohms = 180, | 591 | .x_plate_ohms = 180, |
@@ -603,7 +604,7 @@ static struct omap2_mcspi_device_config ads7846_mcspi_config = { | |||
603 | .single_channel = 1, /* 0: slave, 1: master */ | 604 | .single_channel = 1, /* 0: slave, 1: master */ |
604 | }; | 605 | }; |
605 | 606 | ||
606 | struct spi_board_info omap3evm_spi_board_info[] = { | 607 | static struct spi_board_info omap3evm_spi_board_info[] = { |
607 | [0] = { | 608 | [0] = { |
608 | .modalias = "ads7846", | 609 | .modalias = "ads7846", |
609 | .bus_num = 1, | 610 | .bus_num = 1, |