diff options
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/devices-imx25.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-imx/eukrea_mbimx27-baseboard.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/devices-imx25.h b/arch/arm/mach-imx/devices-imx25.h index 760e66c57c1b..bde33caf1b90 100644 --- a/arch/arm/mach-imx/devices-imx25.h +++ b/arch/arm/mach-imx/devices-imx25.h | |||
@@ -79,7 +79,7 @@ imx25_sdhci_esdhc_imx_data[] __initconst; | |||
79 | #define imx25_add_sdhci_esdhc_imx(id, pdata) \ | 79 | #define imx25_add_sdhci_esdhc_imx(id, pdata) \ |
80 | imx_add_sdhci_esdhc_imx(&imx25_sdhci_esdhc_imx_data[id], pdata) | 80 | imx_add_sdhci_esdhc_imx(&imx25_sdhci_esdhc_imx_data[id], pdata) |
81 | 81 | ||
82 | extern const struct imx_spi_imx_data imx25_spi_imx_data[] __initconst; | 82 | extern const struct imx_spi_imx_data imx25_cspi_data[] __initconst; |
83 | #define imx25_add_spi_imx(id, pdata) \ | 83 | #define imx25_add_spi_imx(id, pdata) \ |
84 | imx_add_spi_imx(&imx25_spi_imx_data[id], pdata) | 84 | imx_add_spi_imx(&imx25_spi_imx_data[id], pdata) |
85 | #define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata) | 85 | #define imx25_add_spi_imx0(pdata) imx25_add_spi_imx(0, pdata) |
diff --git a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c index 7dce2510c6c6..275c8589d797 100644 --- a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c | |||
@@ -247,9 +247,6 @@ static const struct imxuart_platform_data uart_pdata __initconst = { | |||
247 | .flags = IMXUART_HAVE_RTSCTS, | 247 | .flags = IMXUART_HAVE_RTSCTS, |
248 | }; | 248 | }; |
249 | 249 | ||
250 | #if defined(CONFIG_TOUCHSCREEN_ADS7846) \ | ||
251 | || defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE) | ||
252 | |||
253 | #define ADS7846_PENDOWN (GPIO_PORTD | 25) | 250 | #define ADS7846_PENDOWN (GPIO_PORTD | 25) |
254 | 251 | ||
255 | static void ads7846_dev_init(void) | 252 | static void ads7846_dev_init(void) |
@@ -270,9 +267,7 @@ static struct ads7846_platform_data ads7846_config __initdata = { | |||
270 | .get_pendown_state = ads7846_get_pendown_state, | 267 | .get_pendown_state = ads7846_get_pendown_state, |
271 | .keep_vref_on = 1, | 268 | .keep_vref_on = 1, |
272 | }; | 269 | }; |
273 | #endif | ||
274 | 270 | ||
275 | #if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE) | ||
276 | static struct spi_board_info eukrea_mbimx27_spi_board_info[] __initdata = { | 271 | static struct spi_board_info eukrea_mbimx27_spi_board_info[] __initdata = { |
277 | [0] = { | 272 | [0] = { |
278 | .modalias = "ads7846", | 273 | .modalias = "ads7846", |
@@ -291,7 +286,6 @@ static const struct spi_imx_master eukrea_mbimx27_spi0_data __initconst = { | |||
291 | .chipselect = eukrea_mbimx27_spi_cs, | 286 | .chipselect = eukrea_mbimx27_spi_cs, |
292 | .num_chipselect = ARRAY_SIZE(eukrea_mbimx27_spi_cs), | 287 | .num_chipselect = ARRAY_SIZE(eukrea_mbimx27_spi_cs), |
293 | }; | 288 | }; |
294 | #endif | ||
295 | 289 | ||
296 | static struct i2c_board_info eukrea_mbimx27_i2c_devices[] = { | 290 | static struct i2c_board_info eukrea_mbimx27_i2c_devices[] = { |
297 | { | 291 | { |