aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/board-nokia770.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/board-nokia770.c')
-rw-r--r--arch/arm/mach-omap1/board-nokia770.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/board-nokia770.c b/arch/arm/mach-omap1/board-nokia770.c
index fe95ec5f6f03..d21dcc2fbc5a 100644
--- a/arch/arm/mach-omap1/board-nokia770.c
+++ b/arch/arm/mach-omap1/board-nokia770.c
@@ -147,7 +147,6 @@ static struct spi_board_info nokia770_spi_board_info[] __initdata = {
147 .bus_num = 2, 147 .bus_num = 2,
148 .chip_select = 0, 148 .chip_select = 0,
149 .max_speed_hz = 2500000, 149 .max_speed_hz = 2500000,
150 .irq = OMAP_GPIO_IRQ(15),
151 .platform_data = &nokia770_ads7846_platform_data, 150 .platform_data = &nokia770_ads7846_platform_data,
152 }, 151 },
153}; 152};
@@ -237,6 +236,7 @@ static void __init omap_nokia770_init(void)
237 omap_writew((omap_readw(0xfffb5004) & ~2), 0xfffb5004); 236 omap_writew((omap_readw(0xfffb5004) & ~2), 0xfffb5004);
238 237
239 platform_add_devices(nokia770_devices, ARRAY_SIZE(nokia770_devices)); 238 platform_add_devices(nokia770_devices, ARRAY_SIZE(nokia770_devices));
239 nokia770_spi_board_info[1].irq = gpio_to_irq(15);
240 spi_register_board_info(nokia770_spi_board_info, 240 spi_register_board_info(nokia770_spi_board_info,
241 ARRAY_SIZE(nokia770_spi_board_info)); 241 ARRAY_SIZE(nokia770_spi_board_info));
242 omap_serial_init(); 242 omap_serial_init();