diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-mx51_3ds.c')
-rw-r--r-- | arch/arm/mach-imx/mach-mx51_3ds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/mach-mx51_3ds.c b/arch/arm/mach-imx/mach-mx51_3ds.c index 2edb563b968d..9ee84a4af639 100644 --- a/arch/arm/mach-imx/mach-mx51_3ds.c +++ b/arch/arm/mach-imx/mach-mx51_3ds.c | |||
@@ -26,7 +26,6 @@ | |||
26 | 26 | ||
27 | #include "devices-imx51.h" | 27 | #include "devices-imx51.h" |
28 | 28 | ||
29 | #define EXPIO_PARENT_INT gpio_to_irq(IMX_GPIO_NR(1, 6)) | ||
30 | #define MX51_3DS_ECSPI2_CS (GPIO_PORTC + 28) | 29 | #define MX51_3DS_ECSPI2_CS (GPIO_PORTC + 28) |
31 | 30 | ||
32 | static iomux_v3_cfg_t mx51_3ds_pads[] = { | 31 | static iomux_v3_cfg_t mx51_3ds_pads[] = { |
@@ -148,7 +147,7 @@ static void __init mx51_3ds_init(void) | |||
148 | spi_register_board_info(mx51_3ds_spi_nor_device, | 147 | spi_register_board_info(mx51_3ds_spi_nor_device, |
149 | ARRAY_SIZE(mx51_3ds_spi_nor_device)); | 148 | ARRAY_SIZE(mx51_3ds_spi_nor_device)); |
150 | 149 | ||
151 | if (mxc_expio_init(MX51_CS5_BASE_ADDR, EXPIO_PARENT_INT)) | 150 | if (mxc_expio_init(MX51_CS5_BASE_ADDR, IMX_GPIO_NR(1, 6))) |
152 | printk(KERN_WARNING "Init of the debugboard failed, all " | 151 | printk(KERN_WARNING "Init of the debugboard failed, all " |
153 | "devices on the board are unusable.\n"); | 152 | "devices on the board are unusable.\n"); |
154 | 153 | ||