diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 0a668916e3c1..2b6db67291be 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -169,7 +169,6 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | |||
169 | .modalias = "tsc2005", | 169 | .modalias = "tsc2005", |
170 | .bus_num = 1, | 170 | .bus_num = 1, |
171 | .chip_select = 0, | 171 | .chip_select = 0, |
172 | .irq = OMAP_GPIO_IRQ(RX51_TSC2005_IRQ_GPIO), | ||
173 | .max_speed_hz = 6000000, | 172 | .max_speed_hz = 6000000, |
174 | .controller_data = &tsc2005_mcspi_config, | 173 | .controller_data = &tsc2005_mcspi_config, |
175 | .platform_data = &tsc2005_pdata, | 174 | .platform_data = &tsc2005_pdata, |
@@ -1121,6 +1120,8 @@ static void __init rx51_init_tsc2005(void) | |||
1121 | "tsc2005 reset"); | 1120 | "tsc2005 reset"); |
1122 | if (r >= 0) { | 1121 | if (r >= 0) { |
1123 | tsc2005_pdata.set_reset = rx51_tsc2005_set_reset; | 1122 | tsc2005_pdata.set_reset = rx51_tsc2005_set_reset; |
1123 | rx51_peripherals_spi_board_info[RX51_SPI_TSC2005].irq = | ||
1124 | gpio_to_irq(RX51_TSC2005_IRQ_GPIO); | ||
1124 | } else { | 1125 | } else { |
1125 | printk(KERN_ERR "unable to get %s GPIO\n", "tsc2005 reset"); | 1126 | printk(KERN_ERR "unable to get %s GPIO\n", "tsc2005 reset"); |
1126 | tsc2005_pdata.esd_timeout_ms = 0; | 1127 | tsc2005_pdata.esd_timeout_ms = 0; |