aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-12-06 03:36:17 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2010-12-06 03:36:17 -0500
commit0e44e059588e1d91f3a1974d2ce3348864d1d799 (patch)
tree1161c2508bd9eeab010ebc40ef87860fd85a35fd /arch/arm/mach-imx/eukrea_mbimx27-baseboard.c
parent96886c4361f1ae3f6c775d7c9295e2d557101d0f (diff)
parente8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff)
Merge commit 'v2.6.37-rc4' into imx-for-2.6.38
Done to resolve merge conflict: Conflicts: arch/arm/mach-mx25/devices-imx25.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/eukrea_mbimx27-baseboard.c')
-rw-r--r--arch/arm/mach-imx/eukrea_mbimx27-baseboard.c6
1 files changed, 0 insertions, 6 deletions
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
255static void ads7846_dev_init(void) 252static 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)
276static struct spi_board_info eukrea_mbimx27_spi_board_info[] __initdata = { 271static 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
296static struct i2c_board_info eukrea_mbimx27_i2c_devices[] = { 290static struct i2c_board_info eukrea_mbimx27_i2c_devices[] = {
297 { 291 {