diff options
author | Tony Lindgren <tony@atomide.com> | 2012-03-29 13:16:04 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-03-29 13:16:04 -0400 |
commit | 2533c2cfbff8f0ee53b8448d6362b54c272125aa (patch) | |
tree | e254f804f2da2f79e66ea71a1e534574ae9da2ac /arch/arm/mach-omap1/board-h3.c | |
parent | a2cb960f171228e17a28ff734289be60b75417c7 (diff) | |
parent | 21235bdb8aa5e8320b08f79525a45185a52b07df (diff) |
Merge branch 'fixes-gpio-to-irq' into fixes
Conflicts:
arch/arm/mach-omap1/board-htcherald.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/plat-omap/include/plat/gpio.h
drivers/input/serio/ams_delta_serio.c
Diffstat (limited to 'arch/arm/mach-omap1/board-h3.c')
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index 64b8584f64ce..4c19f4c06851 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -247,8 +247,6 @@ static struct resource smc91x_resources[] = { | |||
247 | .flags = IORESOURCE_MEM, | 247 | .flags = IORESOURCE_MEM, |
248 | }, | 248 | }, |
249 | [1] = { | 249 | [1] = { |
250 | .start = OMAP_GPIO_IRQ(40), | ||
251 | .end = OMAP_GPIO_IRQ(40), | ||
252 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, | 250 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, |
253 | }, | 251 | }, |
254 | }; | 252 | }; |
@@ -338,7 +336,6 @@ static struct spi_board_info h3_spi_board_info[] __initdata = { | |||
338 | .modalias = "tsc2101", | 336 | .modalias = "tsc2101", |
339 | .bus_num = 2, | 337 | .bus_num = 2, |
340 | .chip_select = 0, | 338 | .chip_select = 0, |
341 | .irq = OMAP_GPIO_IRQ(H3_TS_GPIO), | ||
342 | .max_speed_hz = 16000000, | 339 | .max_speed_hz = 16000000, |
343 | /* .platform_data = &tsc_platform_data, */ | 340 | /* .platform_data = &tsc_platform_data, */ |
344 | }, | 341 | }, |
@@ -374,11 +371,9 @@ static struct omap_lcd_config h3_lcd_config __initdata = { | |||
374 | static struct i2c_board_info __initdata h3_i2c_board_info[] = { | 371 | static struct i2c_board_info __initdata h3_i2c_board_info[] = { |
375 | { | 372 | { |
376 | I2C_BOARD_INFO("tps65013", 0x48), | 373 | I2C_BOARD_INFO("tps65013", 0x48), |
377 | /* .irq = OMAP_GPIO_IRQ(??), */ | ||
378 | }, | 374 | }, |
379 | { | 375 | { |
380 | I2C_BOARD_INFO("isp1301_omap", 0x2d), | 376 | I2C_BOARD_INFO("isp1301_omap", 0x2d), |
381 | .irq = OMAP_GPIO_IRQ(14), | ||
382 | }, | 377 | }, |
383 | }; | 378 | }; |
384 | 379 | ||
@@ -420,10 +415,14 @@ static void __init h3_init(void) | |||
420 | omap_cfg_reg(E19_1610_KBR4); | 415 | omap_cfg_reg(E19_1610_KBR4); |
421 | omap_cfg_reg(N19_1610_KBR5); | 416 | omap_cfg_reg(N19_1610_KBR5); |
422 | 417 | ||
418 | smc91x_resources[1].start = gpio_to_irq(40); | ||
419 | smc91x_resources[1].end = gpio_to_irq(40); | ||
423 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 420 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
421 | h3_spi_board_info[0].irq = gpio_to_irq(H3_TS_GPIO); | ||
424 | spi_register_board_info(h3_spi_board_info, | 422 | spi_register_board_info(h3_spi_board_info, |
425 | ARRAY_SIZE(h3_spi_board_info)); | 423 | ARRAY_SIZE(h3_spi_board_info)); |
426 | omap_serial_init(); | 424 | omap_serial_init(); |
425 | h3_i2c_board_info[1].irq = gpio_to_irq(14); | ||
427 | omap_register_i2c_bus(1, 100, h3_i2c_board_info, | 426 | omap_register_i2c_bus(1, 100, h3_i2c_board_info, |
428 | ARRAY_SIZE(h3_i2c_board_info)); | 427 | ARRAY_SIZE(h3_i2c_board_info)); |
429 | omap1_usb_init(&h3_usb_config); | 428 | omap1_usb_init(&h3_usb_config); |