diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-14 05:25:40 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-27 06:51:26 -0500 |
commit | 285faa1b5631968aa27e9816f082448bcd2ba044 (patch) | |
tree | e00df33b4b5fa33927058bc10642590b0a43b2ab | |
parent | 5ec561afbc44dc8dfe789deafa5bf47da463938a (diff) |
ARM i.MX27 eukrea mbimx27: remove unnecessary CONFIG_SPI_IMX ifdefs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/mach-imx/eukrea_mbimx27-baseboard.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c index 275c8589d797..b6d68cfefde3 100644 --- a/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c +++ b/arch/arm/mach-imx/eukrea_mbimx27-baseboard.c | |||
@@ -357,13 +357,11 @@ void __init eukrea_mbimx27_baseboard_init(void) | |||
357 | ads7846_dev_init(); | 357 | ads7846_dev_init(); |
358 | #endif | 358 | #endif |
359 | 359 | ||
360 | #if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE) | ||
361 | /* SPI_CS0 init */ | 360 | /* SPI_CS0 init */ |
362 | mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT); | 361 | mxc_gpio_mode(GPIO_PORTD | 28 | GPIO_GPIO | GPIO_OUT); |
363 | imx27_add_spi_imx0(&eukrea_mbimx27_spi0_data); | 362 | imx27_add_spi_imx0(&eukrea_mbimx27_spi0_data); |
364 | spi_register_board_info(eukrea_mbimx27_spi_board_info, | 363 | spi_register_board_info(eukrea_mbimx27_spi_board_info, |
365 | ARRAY_SIZE(eukrea_mbimx27_spi_board_info)); | 364 | ARRAY_SIZE(eukrea_mbimx27_spi_board_info)); |
366 | #endif | ||
367 | 365 | ||
368 | /* Leds configuration */ | 366 | /* Leds configuration */ |
369 | mxc_gpio_mode(GPIO_PORTF | 16 | GPIO_GPIO | GPIO_OUT); | 367 | mxc_gpio_mode(GPIO_PORTF | 16 | GPIO_GPIO | GPIO_OUT); |