diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 00:30:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 00:30:28 -0400 |
commit | 4bde23f8751f388867766b0a62ed1ef8b7e01561 (patch) | |
tree | 9ad3d165483fda3349c2bf0195406eebaa7af5ce | |
parent | e152c38abaa92352679c9b53c4cce533c03997c6 (diff) | |
parent | f00e9b11863abdb837e555a2b1e3417e8b5d80dd (diff) |
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull arm-soc fixes from Olof Johansson:
"This is a first pass of some of the merge window fallout for ARM
platforms.
Nothing controversial:
- A system.h fallout fix for OMAP
- PXA fixes for breakage caused by the regulator struct changes
- GPIO fixes for OMAP to properly deal with dynamic IRQ allocation
- A mismerge in our arm-soc tree of an lpc32xx change for networking
- A fix for USB setup on tegra
- An undo of __init annotation of display mux setup on OMAP that's
needed at runtime"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
ARM: pxa: fix build issue on stargate2
ARM: pxa: fix build issue on cm-x300
ARM: pxa: fix build failure for regulator consumer in em-x270.c
ARM: LPC32xx: clock.c: Fix lpc-eth clock reference
ARM: OMAP: pm: fix compilation break
ARM: OMAP: Remove OMAP_GPIO_IRQ macro definition
drivers: input: Fix OMAP_GPIO_IRQ with gpio_to_irq() in ams_delta_serio_exit()
ARM: OMAP: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()
ARM: pxa: fix regulator related build fail in magician_defconfig
ARM: tegra: Fix device tree AUXDATA for USB/EHCI
ARM: OMAP2+: Remove __init from DSI mux functions
35 files changed, 73 insertions, 74 deletions
diff --git a/arch/arm/mach-lpc32xx/clock.c b/arch/arm/mach-lpc32xx/clock.c index b7ef51119d37..2fc24ca12054 100644 --- a/arch/arm/mach-lpc32xx/clock.c +++ b/arch/arm/mach-lpc32xx/clock.c | |||
@@ -1134,7 +1134,7 @@ static struct clk_lookup lookups[] = { | |||
1134 | _REGISTER_CLOCK(NULL, "i2s1_ck", clk_i2s1) | 1134 | _REGISTER_CLOCK(NULL, "i2s1_ck", clk_i2s1) |
1135 | _REGISTER_CLOCK("ts-lpc32xx", NULL, clk_tsc) | 1135 | _REGISTER_CLOCK("ts-lpc32xx", NULL, clk_tsc) |
1136 | _REGISTER_CLOCK("dev:mmc0", NULL, clk_mmc) | 1136 | _REGISTER_CLOCK("dev:mmc0", NULL, clk_mmc) |
1137 | _REGISTER_CLOCK("lpc-net.0", NULL, clk_net) | 1137 | _REGISTER_CLOCK("lpc-eth.0", NULL, clk_net) |
1138 | _REGISTER_CLOCK("dev:clcd", NULL, clk_lcd) | 1138 | _REGISTER_CLOCK("dev:clcd", NULL, clk_lcd) |
1139 | _REGISTER_CLOCK("lpc32xx_udc", "ck_usbd", clk_usbd) | 1139 | _REGISTER_CLOCK("lpc32xx_udc", "ck_usbd", clk_usbd) |
1140 | _REGISTER_CLOCK("lpc32xx_rtc", NULL, clk_rtc) | 1140 | _REGISTER_CLOCK("lpc32xx_rtc", NULL, clk_rtc) |
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index c3068622fdcb..553a2e535764 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -245,8 +245,6 @@ static struct resource h2_smc91x_resources[] = { | |||
245 | .flags = IORESOURCE_MEM, | 245 | .flags = IORESOURCE_MEM, |
246 | }, | 246 | }, |
247 | [1] = { | 247 | [1] = { |
248 | .start = OMAP_GPIO_IRQ(0), | ||
249 | .end = OMAP_GPIO_IRQ(0), | ||
250 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, | 248 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, |
251 | }, | 249 | }, |
252 | }; | 250 | }; |
@@ -359,11 +357,9 @@ static struct tps65010_board tps_board = { | |||
359 | static struct i2c_board_info __initdata h2_i2c_board_info[] = { | 357 | static struct i2c_board_info __initdata h2_i2c_board_info[] = { |
360 | { | 358 | { |
361 | I2C_BOARD_INFO("tps65010", 0x48), | 359 | I2C_BOARD_INFO("tps65010", 0x48), |
362 | .irq = OMAP_GPIO_IRQ(58), | ||
363 | .platform_data = &tps_board, | 360 | .platform_data = &tps_board, |
364 | }, { | 361 | }, { |
365 | I2C_BOARD_INFO("isp1301_omap", 0x2d), | 362 | I2C_BOARD_INFO("isp1301_omap", 0x2d), |
366 | .irq = OMAP_GPIO_IRQ(2), | ||
367 | }, | 363 | }, |
368 | }; | 364 | }; |
369 | 365 | ||
@@ -428,8 +424,12 @@ static void __init h2_init(void) | |||
428 | omap_cfg_reg(E19_1610_KBR4); | 424 | omap_cfg_reg(E19_1610_KBR4); |
429 | omap_cfg_reg(N19_1610_KBR5); | 425 | omap_cfg_reg(N19_1610_KBR5); |
430 | 426 | ||
427 | h2_smc91x_resources[1].start = gpio_to_irq(0); | ||
428 | h2_smc91x_resources[1].end = gpio_to_irq(0); | ||
431 | platform_add_devices(h2_devices, ARRAY_SIZE(h2_devices)); | 429 | platform_add_devices(h2_devices, ARRAY_SIZE(h2_devices)); |
432 | omap_serial_init(); | 430 | omap_serial_init(); |
431 | h2_i2c_board_info[0].irq = gpio_to_irq(58); | ||
432 | h2_i2c_board_info[1].irq = gpio_to_irq(2); | ||
433 | omap_register_i2c_bus(1, 100, h2_i2c_board_info, | 433 | omap_register_i2c_bus(1, 100, h2_i2c_board_info, |
434 | ARRAY_SIZE(h2_i2c_board_info)); | 434 | ARRAY_SIZE(h2_i2c_board_info)); |
435 | omap1_usb_init(&h2_usb_config); | 435 | omap1_usb_init(&h2_usb_config); |
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); |
diff --git a/arch/arm/mach-omap1/board-htcherald.c b/arch/arm/mach-omap1/board-htcherald.c index 827d83a96af8..60c06ee23855 100644 --- a/arch/arm/mach-omap1/board-htcherald.c +++ b/arch/arm/mach-omap1/board-htcherald.c | |||
@@ -324,8 +324,6 @@ static struct platform_device gpio_leds_device = { | |||
324 | 324 | ||
325 | static struct resource htcpld_resources[] = { | 325 | static struct resource htcpld_resources[] = { |
326 | [0] = { | 326 | [0] = { |
327 | .start = OMAP_GPIO_IRQ(HTCHERALD_GIRQ_BTNS), | ||
328 | .end = OMAP_GPIO_IRQ(HTCHERALD_GIRQ_BTNS), | ||
329 | .flags = IORESOURCE_IRQ, | 327 | .flags = IORESOURCE_IRQ, |
330 | }, | 328 | }, |
331 | }; | 329 | }; |
@@ -450,7 +448,6 @@ static struct spi_board_info __initdata htcherald_spi_board_info[] = { | |||
450 | { | 448 | { |
451 | .modalias = "ads7846", | 449 | .modalias = "ads7846", |
452 | .platform_data = &htcherald_ts_platform_data, | 450 | .platform_data = &htcherald_ts_platform_data, |
453 | .irq = OMAP_GPIO_IRQ(HTCHERALD_GPIO_TS), | ||
454 | .max_speed_hz = 2500000, | 451 | .max_speed_hz = 2500000, |
455 | .bus_num = 2, | 452 | .bus_num = 2, |
456 | .chip_select = 1, | 453 | .chip_select = 1, |
@@ -576,6 +573,8 @@ static void __init htcherald_init(void) | |||
576 | printk(KERN_INFO "HTC Herald init.\n"); | 573 | printk(KERN_INFO "HTC Herald init.\n"); |
577 | 574 | ||
578 | /* Do board initialization before we register all the devices */ | 575 | /* Do board initialization before we register all the devices */ |
576 | htcpld_resources[0].start = gpio_to_irq(HTCHERALD_GIRQ_BTNS); | ||
577 | htcpld_resources[0].end = gpio_to_irq(HTCHERALD_GIRQ_BTNS); | ||
579 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 578 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
580 | 579 | ||
581 | htcherald_disable_watchdog(); | 580 | htcherald_disable_watchdog(); |
@@ -583,6 +582,7 @@ static void __init htcherald_init(void) | |||
583 | htcherald_usb_enable(); | 582 | htcherald_usb_enable(); |
584 | omap1_usb_init(&htcherald_usb_config); | 583 | omap1_usb_init(&htcherald_usb_config); |
585 | 584 | ||
585 | htcherald_spi_board_info[0].irq = gpio_to_irq(HTCHERALD_GPIO_TS); | ||
586 | spi_register_board_info(htcherald_spi_board_info, | 586 | spi_register_board_info(htcherald_spi_board_info, |
587 | ARRAY_SIZE(htcherald_spi_board_info)); | 587 | ARRAY_SIZE(htcherald_spi_board_info)); |
588 | 588 | ||
diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index 61219182d16a..67d7fd57a692 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c | |||
@@ -248,8 +248,6 @@ static struct resource innovator1610_smc91x_resources[] = { | |||
248 | .flags = IORESOURCE_MEM, | 248 | .flags = IORESOURCE_MEM, |
249 | }, | 249 | }, |
250 | [1] = { | 250 | [1] = { |
251 | .start = OMAP_GPIO_IRQ(0), | ||
252 | .end = OMAP_GPIO_IRQ(0), | ||
253 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, | 251 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWEDGE, |
254 | }, | 252 | }, |
255 | }; | 253 | }; |
@@ -409,6 +407,8 @@ static void __init innovator_init(void) | |||
409 | #endif | 407 | #endif |
410 | #ifdef CONFIG_ARCH_OMAP16XX | 408 | #ifdef CONFIG_ARCH_OMAP16XX |
411 | if (!cpu_is_omap1510()) { | 409 | if (!cpu_is_omap1510()) { |
410 | innovator1610_smc91x_resources[1].start = gpio_to_irq(0); | ||
411 | innovator1610_smc91x_resources[1].end = gpio_to_irq(0); | ||
412 | platform_add_devices(innovator1610_devices, ARRAY_SIZE(innovator1610_devices)); | 412 | platform_add_devices(innovator1610_devices, ARRAY_SIZE(innovator1610_devices)); |
413 | } | 413 | } |
414 | #endif | 414 | #endif |
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(); |
diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index 1fe347396f4d..a5f85dda3f69 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c | |||
@@ -129,8 +129,6 @@ static struct resource osk5912_smc91x_resources[] = { | |||
129 | .flags = IORESOURCE_MEM, | 129 | .flags = IORESOURCE_MEM, |
130 | }, | 130 | }, |
131 | [1] = { | 131 | [1] = { |
132 | .start = OMAP_GPIO_IRQ(0), | ||
133 | .end = OMAP_GPIO_IRQ(0), | ||
134 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, | 132 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, |
135 | }, | 133 | }, |
136 | }; | 134 | }; |
@@ -147,8 +145,6 @@ static struct platform_device osk5912_smc91x_device = { | |||
147 | 145 | ||
148 | static struct resource osk5912_cf_resources[] = { | 146 | static struct resource osk5912_cf_resources[] = { |
149 | [0] = { | 147 | [0] = { |
150 | .start = OMAP_GPIO_IRQ(62), | ||
151 | .end = OMAP_GPIO_IRQ(62), | ||
152 | .flags = IORESOURCE_IRQ, | 148 | .flags = IORESOURCE_IRQ, |
153 | }, | 149 | }, |
154 | }; | 150 | }; |
@@ -240,7 +236,6 @@ static struct tps65010_board tps_board = { | |||
240 | static struct i2c_board_info __initdata osk_i2c_board_info[] = { | 236 | static struct i2c_board_info __initdata osk_i2c_board_info[] = { |
241 | { | 237 | { |
242 | I2C_BOARD_INFO("tps65010", 0x48), | 238 | I2C_BOARD_INFO("tps65010", 0x48), |
243 | .irq = OMAP_GPIO_IRQ(OMAP_MPUIO(1)), | ||
244 | .platform_data = &tps_board, | 239 | .platform_data = &tps_board, |
245 | 240 | ||
246 | }, | 241 | }, |
@@ -408,7 +403,6 @@ static struct spi_board_info __initdata mistral_boardinfo[] = { { | |||
408 | /* MicroWire (bus 2) CS0 has an ads7846e */ | 403 | /* MicroWire (bus 2) CS0 has an ads7846e */ |
409 | .modalias = "ads7846", | 404 | .modalias = "ads7846", |
410 | .platform_data = &mistral_ts_info, | 405 | .platform_data = &mistral_ts_info, |
411 | .irq = OMAP_GPIO_IRQ(4), | ||
412 | .max_speed_hz = 120000 /* max sample rate at 3V */ | 406 | .max_speed_hz = 120000 /* max sample rate at 3V */ |
413 | * 26 /* command + data + overhead */, | 407 | * 26 /* command + data + overhead */, |
414 | .bus_num = 2, | 408 | .bus_num = 2, |
@@ -471,6 +465,7 @@ static void __init osk_mistral_init(void) | |||
471 | gpio_direction_input(4); | 465 | gpio_direction_input(4); |
472 | irq_set_irq_type(gpio_to_irq(4), IRQ_TYPE_EDGE_FALLING); | 466 | irq_set_irq_type(gpio_to_irq(4), IRQ_TYPE_EDGE_FALLING); |
473 | 467 | ||
468 | mistral_boardinfo[0].irq = gpio_to_irq(4); | ||
474 | spi_register_board_info(mistral_boardinfo, | 469 | spi_register_board_info(mistral_boardinfo, |
475 | ARRAY_SIZE(mistral_boardinfo)); | 470 | ARRAY_SIZE(mistral_boardinfo)); |
476 | 471 | ||
@@ -542,6 +537,10 @@ static void __init osk_init(void) | |||
542 | 537 | ||
543 | osk_flash_resource.end = osk_flash_resource.start = omap_cs3_phys(); | 538 | osk_flash_resource.end = osk_flash_resource.start = omap_cs3_phys(); |
544 | osk_flash_resource.end += SZ_32M - 1; | 539 | osk_flash_resource.end += SZ_32M - 1; |
540 | osk5912_smc91x_resources[1].start = gpio_to_irq(0); | ||
541 | osk5912_smc91x_resources[1].end = gpio_to_irq(0); | ||
542 | osk5912_cf_resources[0].start = gpio_to_irq(62); | ||
543 | osk5912_cf_resources[0].end = gpio_to_irq(62); | ||
545 | platform_add_devices(osk5912_devices, ARRAY_SIZE(osk5912_devices)); | 544 | platform_add_devices(osk5912_devices, ARRAY_SIZE(osk5912_devices)); |
546 | 545 | ||
547 | l = omap_readl(USB_TRANSCEIVER_CTRL); | 546 | l = omap_readl(USB_TRANSCEIVER_CTRL); |
@@ -556,6 +555,7 @@ static void __init osk_init(void) | |||
556 | gpio_direction_input(OMAP_MPUIO(1)); | 555 | gpio_direction_input(OMAP_MPUIO(1)); |
557 | 556 | ||
558 | omap_serial_init(); | 557 | omap_serial_init(); |
558 | osk_i2c_board_info[0].irq = gpio_to_irq(OMAP_MPUIO(1)); | ||
559 | omap_register_i2c_bus(1, 400, osk_i2c_board_info, | 559 | omap_register_i2c_bus(1, 400, osk_i2c_board_info, |
560 | ARRAY_SIZE(osk_i2c_board_info)); | 560 | ARRAY_SIZE(osk_i2c_board_info)); |
561 | osk_mistral_init(); | 561 | osk_mistral_init(); |
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index 0863d8e2bdf1..a60e6c22f816 100644 --- a/arch/arm/mach-omap1/board-palmte.c +++ b/arch/arm/mach-omap1/board-palmte.c | |||
@@ -217,7 +217,6 @@ static struct spi_board_info palmte_spi_info[] __initdata = { | |||
217 | .modalias = "tsc2102", | 217 | .modalias = "tsc2102", |
218 | .bus_num = 2, /* uWire (officially) */ | 218 | .bus_num = 2, /* uWire (officially) */ |
219 | .chip_select = 0, /* As opposed to 3 */ | 219 | .chip_select = 0, /* As opposed to 3 */ |
220 | .irq = OMAP_GPIO_IRQ(PALMTE_PINTDAV_GPIO), | ||
221 | .max_speed_hz = 8000000, | 220 | .max_speed_hz = 8000000, |
222 | }, | 221 | }, |
223 | }; | 222 | }; |
@@ -251,6 +250,7 @@ static void __init omap_palmte_init(void) | |||
251 | 250 | ||
252 | platform_add_devices(palmte_devices, ARRAY_SIZE(palmte_devices)); | 251 | platform_add_devices(palmte_devices, ARRAY_SIZE(palmte_devices)); |
253 | 252 | ||
253 | palmte_spi_info[0].irq = gpio_to_irq(PALMTE_PINTDAV_GPIO); | ||
254 | spi_register_board_info(palmte_spi_info, ARRAY_SIZE(palmte_spi_info)); | 254 | spi_register_board_info(palmte_spi_info, ARRAY_SIZE(palmte_spi_info)); |
255 | palmte_misc_gpio_setup(); | 255 | palmte_misc_gpio_setup(); |
256 | omap_serial_init(); | 256 | omap_serial_init(); |
diff --git a/arch/arm/mach-omap1/board-palmtt.c b/arch/arm/mach-omap1/board-palmtt.c index 4ff699c509c0..8d854878547b 100644 --- a/arch/arm/mach-omap1/board-palmtt.c +++ b/arch/arm/mach-omap1/board-palmtt.c | |||
@@ -257,7 +257,6 @@ static struct spi_board_info __initdata palmtt_boardinfo[] = { | |||
257 | /* MicroWire (bus 2) CS0 has an ads7846e */ | 257 | /* MicroWire (bus 2) CS0 has an ads7846e */ |
258 | .modalias = "ads7846", | 258 | .modalias = "ads7846", |
259 | .platform_data = &palmtt_ts_info, | 259 | .platform_data = &palmtt_ts_info, |
260 | .irq = OMAP_GPIO_IRQ(6), | ||
261 | .max_speed_hz = 120000 /* max sample rate at 3V */ | 260 | .max_speed_hz = 120000 /* max sample rate at 3V */ |
262 | * 26 /* command + data + overhead */, | 261 | * 26 /* command + data + overhead */, |
263 | .bus_num = 2, | 262 | .bus_num = 2, |
@@ -298,6 +297,7 @@ static void __init omap_palmtt_init(void) | |||
298 | 297 | ||
299 | platform_add_devices(palmtt_devices, ARRAY_SIZE(palmtt_devices)); | 298 | platform_add_devices(palmtt_devices, ARRAY_SIZE(palmtt_devices)); |
300 | 299 | ||
300 | palmtt_boardinfo[0].irq = gpio_to_irq(6); | ||
301 | spi_register_board_info(palmtt_boardinfo,ARRAY_SIZE(palmtt_boardinfo)); | 301 | spi_register_board_info(palmtt_boardinfo,ARRAY_SIZE(palmtt_boardinfo)); |
302 | omap_serial_init(); | 302 | omap_serial_init(); |
303 | omap1_usb_init(&palmtt_usb_config); | 303 | omap1_usb_init(&palmtt_usb_config); |
diff --git a/arch/arm/mach-omap1/board-palmz71.c b/arch/arm/mach-omap1/board-palmz71.c index abcbbd339aeb..a2c5abcd7c84 100644 --- a/arch/arm/mach-omap1/board-palmz71.c +++ b/arch/arm/mach-omap1/board-palmz71.c | |||
@@ -224,7 +224,6 @@ static struct spi_board_info __initdata palmz71_boardinfo[] = { { | |||
224 | /* MicroWire (bus 2) CS0 has an ads7846e */ | 224 | /* MicroWire (bus 2) CS0 has an ads7846e */ |
225 | .modalias = "ads7846", | 225 | .modalias = "ads7846", |
226 | .platform_data = &palmz71_ts_info, | 226 | .platform_data = &palmz71_ts_info, |
227 | .irq = OMAP_GPIO_IRQ(PALMZ71_PENIRQ_GPIO), | ||
228 | .max_speed_hz = 120000 /* max sample rate at 3V */ | 227 | .max_speed_hz = 120000 /* max sample rate at 3V */ |
229 | * 26 /* command + data + overhead */, | 228 | * 26 /* command + data + overhead */, |
230 | .bus_num = 2, | 229 | .bus_num = 2, |
@@ -313,6 +312,7 @@ omap_palmz71_init(void) | |||
313 | 312 | ||
314 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 313 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
315 | 314 | ||
315 | palmz71_boardinfo[0].irq = gpio_to_irq(PALMZ71_PENIRQ_GPIO); | ||
316 | spi_register_board_info(palmz71_boardinfo, | 316 | spi_register_board_info(palmz71_boardinfo, |
317 | ARRAY_SIZE(palmz71_boardinfo)); | 317 | ARRAY_SIZE(palmz71_boardinfo)); |
318 | omap1_usb_init(&palmz71_usb_config); | 318 | omap1_usb_init(&palmz71_usb_config); |
diff --git a/arch/arm/mach-omap1/board-voiceblue.c b/arch/arm/mach-omap1/board-voiceblue.c index 659d0f75de2c..37232d04233f 100644 --- a/arch/arm/mach-omap1/board-voiceblue.c +++ b/arch/arm/mach-omap1/board-voiceblue.c | |||
@@ -44,7 +44,6 @@ | |||
44 | static struct plat_serial8250_port voiceblue_ports[] = { | 44 | static struct plat_serial8250_port voiceblue_ports[] = { |
45 | { | 45 | { |
46 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x40000), | 46 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x40000), |
47 | .irq = OMAP_GPIO_IRQ(12), | ||
48 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, | 47 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, |
49 | .iotype = UPIO_MEM, | 48 | .iotype = UPIO_MEM, |
50 | .regshift = 1, | 49 | .regshift = 1, |
@@ -52,7 +51,6 @@ static struct plat_serial8250_port voiceblue_ports[] = { | |||
52 | }, | 51 | }, |
53 | { | 52 | { |
54 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x50000), | 53 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x50000), |
55 | .irq = OMAP_GPIO_IRQ(13), | ||
56 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, | 54 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, |
57 | .iotype = UPIO_MEM, | 55 | .iotype = UPIO_MEM, |
58 | .regshift = 1, | 56 | .regshift = 1, |
@@ -60,7 +58,6 @@ static struct plat_serial8250_port voiceblue_ports[] = { | |||
60 | }, | 58 | }, |
61 | { | 59 | { |
62 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x60000), | 60 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x60000), |
63 | .irq = OMAP_GPIO_IRQ(14), | ||
64 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, | 61 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, |
65 | .iotype = UPIO_MEM, | 62 | .iotype = UPIO_MEM, |
66 | .regshift = 1, | 63 | .regshift = 1, |
@@ -68,7 +65,6 @@ static struct plat_serial8250_port voiceblue_ports[] = { | |||
68 | }, | 65 | }, |
69 | { | 66 | { |
70 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x70000), | 67 | .mapbase = (unsigned long)(OMAP_CS1_PHYS + 0x70000), |
71 | .irq = OMAP_GPIO_IRQ(15), | ||
72 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, | 68 | .flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP, |
73 | .iotype = UPIO_MEM, | 69 | .iotype = UPIO_MEM, |
74 | .regshift = 1, | 70 | .regshift = 1, |
@@ -80,9 +76,6 @@ static struct plat_serial8250_port voiceblue_ports[] = { | |||
80 | static struct platform_device serial_device = { | 76 | static struct platform_device serial_device = { |
81 | .name = "serial8250", | 77 | .name = "serial8250", |
82 | .id = PLAT8250_DEV_PLATFORM1, | 78 | .id = PLAT8250_DEV_PLATFORM1, |
83 | .dev = { | ||
84 | .platform_data = voiceblue_ports, | ||
85 | }, | ||
86 | }; | 79 | }; |
87 | 80 | ||
88 | static int __init ext_uart_init(void) | 81 | static int __init ext_uart_init(void) |
@@ -90,6 +83,11 @@ static int __init ext_uart_init(void) | |||
90 | if (!machine_is_voiceblue()) | 83 | if (!machine_is_voiceblue()) |
91 | return -ENODEV; | 84 | return -ENODEV; |
92 | 85 | ||
86 | voiceblue_ports[0].irq = gpio_to_irq(12); | ||
87 | voiceblue_ports[1].irq = gpio_to_irq(13); | ||
88 | voiceblue_ports[2].irq = gpio_to_irq(14); | ||
89 | voiceblue_ports[3].irq = gpio_to_irq(15); | ||
90 | serial_device.dev.platform_data = voiceblue_ports; | ||
93 | return platform_device_register(&serial_device); | 91 | return platform_device_register(&serial_device); |
94 | } | 92 | } |
95 | arch_initcall(ext_uart_init); | 93 | arch_initcall(ext_uart_init); |
@@ -128,8 +126,6 @@ static struct resource voiceblue_smc91x_resources[] = { | |||
128 | .flags = IORESOURCE_MEM, | 126 | .flags = IORESOURCE_MEM, |
129 | }, | 127 | }, |
130 | [1] = { | 128 | [1] = { |
131 | .start = OMAP_GPIO_IRQ(8), | ||
132 | .end = OMAP_GPIO_IRQ(8), | ||
133 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, | 129 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, |
134 | }, | 130 | }, |
135 | }; | 131 | }; |
@@ -275,6 +271,8 @@ static void __init voiceblue_init(void) | |||
275 | irq_set_irq_type(gpio_to_irq(14), IRQ_TYPE_EDGE_RISING); | 271 | irq_set_irq_type(gpio_to_irq(14), IRQ_TYPE_EDGE_RISING); |
276 | irq_set_irq_type(gpio_to_irq(15), IRQ_TYPE_EDGE_RISING); | 272 | irq_set_irq_type(gpio_to_irq(15), IRQ_TYPE_EDGE_RISING); |
277 | 273 | ||
274 | voiceblue_smc91x_resources[1].start = gpio_to_irq(8); | ||
275 | voiceblue_smc91x_resources[1].end = gpio_to_irq(8); | ||
278 | platform_add_devices(voiceblue_devices, ARRAY_SIZE(voiceblue_devices)); | 276 | platform_add_devices(voiceblue_devices, ARRAY_SIZE(voiceblue_devices)); |
279 | omap_board_config = voiceblue_config; | 277 | omap_board_config = voiceblue_config; |
280 | omap_board_config_size = ARRAY_SIZE(voiceblue_config); | 278 | omap_board_config_size = ARRAY_SIZE(voiceblue_config); |
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 306beaca14c5..f66c32912b22 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <linux/io.h> | 44 | #include <linux/io.h> |
45 | #include <linux/atomic.h> | 45 | #include <linux/atomic.h> |
46 | 46 | ||
47 | #include <asm/system_misc.h> | ||
47 | #include <asm/irq.h> | 48 | #include <asm/irq.h> |
48 | #include <asm/mach/time.h> | 49 | #include <asm/mach/time.h> |
49 | #include <asm/mach/irq.h> | 50 | #include <asm/mach/irq.h> |
diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index c8bda62900d8..e658f835d0de 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c | |||
@@ -230,12 +230,12 @@ static struct i2c_board_info __initdata sdp2430_i2c1_boardinfo[] = { | |||
230 | { | 230 | { |
231 | I2C_BOARD_INFO("isp1301_omap", 0x2D), | 231 | I2C_BOARD_INFO("isp1301_omap", 0x2D), |
232 | .flags = I2C_CLIENT_WAKE, | 232 | .flags = I2C_CLIENT_WAKE, |
233 | .irq = OMAP_GPIO_IRQ(78), | ||
234 | }, | 233 | }, |
235 | }; | 234 | }; |
236 | 235 | ||
237 | static int __init omap2430_i2c_init(void) | 236 | static int __init omap2430_i2c_init(void) |
238 | { | 237 | { |
238 | sdp2430_i2c1_boardinfo[0].irq = gpio_to_irq(78); | ||
239 | omap_register_i2c_bus(1, 100, sdp2430_i2c1_boardinfo, | 239 | omap_register_i2c_bus(1, 100, sdp2430_i2c1_boardinfo, |
240 | ARRAY_SIZE(sdp2430_i2c1_boardinfo)); | 240 | ARRAY_SIZE(sdp2430_i2c1_boardinfo)); |
241 | omap_pmic_init(2, 100, "twl4030", INT_24XX_SYS_NIRQ, | 241 | omap_pmic_init(2, 100, "twl4030", INT_24XX_SYS_NIRQ, |
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 37dcb1bc025e..a39fc4bbd2b8 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
@@ -907,7 +907,6 @@ static void __init omap4_sdp4430_wifi_mux_init(void) | |||
907 | } | 907 | } |
908 | 908 | ||
909 | static struct wl12xx_platform_data omap4_sdp4430_wlan_data __initdata = { | 909 | static struct wl12xx_platform_data omap4_sdp4430_wlan_data __initdata = { |
910 | .irq = OMAP_GPIO_IRQ(GPIO_WIFI_IRQ), | ||
911 | .board_ref_clock = WL12XX_REFCLOCK_26, | 910 | .board_ref_clock = WL12XX_REFCLOCK_26, |
912 | .board_tcxo_clock = WL12XX_TCXOCLOCK_26, | 911 | .board_tcxo_clock = WL12XX_TCXOCLOCK_26, |
913 | }; | 912 | }; |
@@ -917,6 +916,7 @@ static void __init omap4_sdp4430_wifi_init(void) | |||
917 | int ret; | 916 | int ret; |
918 | 917 | ||
919 | omap4_sdp4430_wifi_mux_init(); | 918 | omap4_sdp4430_wifi_mux_init(); |
919 | omap4_sdp4430_wlan_data.irq = gpio_to_irq(GPIO_WIFI_IRQ); | ||
920 | ret = wl12xx_set_platform_data(&omap4_sdp4430_wlan_data); | 920 | ret = wl12xx_set_platform_data(&omap4_sdp4430_wlan_data); |
921 | if (ret) | 921 | if (ret) |
922 | pr_err("Error setting wl12xx data: %d\n", ret); | 922 | pr_err("Error setting wl12xx data: %d\n", ret); |
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index ac773829941f..768ece2e9c3b 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -136,8 +136,6 @@ static struct resource apollon_smc91x_resources[] = { | |||
136 | .flags = IORESOURCE_MEM, | 136 | .flags = IORESOURCE_MEM, |
137 | }, | 137 | }, |
138 | [1] = { | 138 | [1] = { |
139 | .start = OMAP_GPIO_IRQ(APOLLON_ETHR_GPIO_IRQ), | ||
140 | .end = OMAP_GPIO_IRQ(APOLLON_ETHR_GPIO_IRQ), | ||
141 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, | 139 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, |
142 | }, | 140 | }, |
143 | }; | 141 | }; |
@@ -341,6 +339,8 @@ static void __init omap_apollon_init(void) | |||
341 | * You have to mux them off in device drivers later on | 339 | * You have to mux them off in device drivers later on |
342 | * if not needed. | 340 | * if not needed. |
343 | */ | 341 | */ |
342 | apollon_smc91x_resources[1].start = gpio_to_irq(APOLLON_ETHR_GPIO_IRQ); | ||
343 | apollon_smc91x_resources[1].end = gpio_to_irq(APOLLON_ETHR_GPIO_IRQ); | ||
344 | platform_add_devices(apollon_devices, ARRAY_SIZE(apollon_devices)); | 344 | platform_add_devices(apollon_devices, ARRAY_SIZE(apollon_devices)); |
345 | omap_serial_init(); | 345 | omap_serial_init(); |
346 | omap_sdrc_init(NULL, NULL); | 346 | omap_sdrc_init(NULL, NULL); |
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 11cd2a806093..a2010f07de31 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -411,7 +411,6 @@ static struct resource omap_dm9000_resources[] = { | |||
411 | .flags = IORESOURCE_MEM, | 411 | .flags = IORESOURCE_MEM, |
412 | }, | 412 | }, |
413 | [2] = { | 413 | [2] = { |
414 | .start = OMAP_GPIO_IRQ(OMAP_DM9000_GPIO_IRQ), | ||
415 | .flags = IORESOURCE_IRQ | IRQF_TRIGGER_LOW, | 414 | .flags = IORESOURCE_IRQ | IRQF_TRIGGER_LOW, |
416 | }, | 415 | }, |
417 | }; | 416 | }; |
@@ -639,6 +638,7 @@ static void __init devkit8000_init(void) | |||
639 | 638 | ||
640 | omap_hsmmc_init(mmc); | 639 | omap_hsmmc_init(mmc); |
641 | devkit8000_i2c_init(); | 640 | devkit8000_i2c_init(); |
641 | omap_dm9000_resources[2].start = gpio_to_irq(OMAP_DM9000_GPIO_IRQ); | ||
642 | platform_add_devices(devkit8000_devices, | 642 | platform_add_devices(devkit8000_devices, |
643 | ARRAY_SIZE(devkit8000_devices)); | 643 | ARRAY_SIZE(devkit8000_devices)); |
644 | 644 | ||
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 54af800d143c..0bbbabe28fcc 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -348,7 +348,6 @@ static struct at24_platform_data m24c01 = { | |||
348 | static struct i2c_board_info __initdata h4_i2c_board_info[] = { | 348 | static struct i2c_board_info __initdata h4_i2c_board_info[] = { |
349 | { | 349 | { |
350 | I2C_BOARD_INFO("isp1301_omap", 0x2d), | 350 | I2C_BOARD_INFO("isp1301_omap", 0x2d), |
351 | .irq = OMAP_GPIO_IRQ(125), | ||
352 | }, | 351 | }, |
353 | { /* EEPROM on mainboard */ | 352 | { /* EEPROM on mainboard */ |
354 | I2C_BOARD_INFO("24c01", 0x52), | 353 | I2C_BOARD_INFO("24c01", 0x52), |
@@ -377,6 +376,7 @@ static void __init omap_h4_init(void) | |||
377 | */ | 376 | */ |
378 | 377 | ||
379 | board_mkp_init(); | 378 | board_mkp_init(); |
379 | h4_i2c_board_info[0].irq = gpio_to_irq(125); | ||
380 | i2c_register_board_info(1, h4_i2c_board_info, | 380 | i2c_register_board_info(1, h4_i2c_board_info, |
381 | ARRAY_SIZE(h4_i2c_board_info)); | 381 | ARRAY_SIZE(h4_i2c_board_info)); |
382 | 382 | ||
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index a659e198892b..4c90f078abe1 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -487,7 +487,6 @@ static struct platform_device omap3evm_wlan_regulator = { | |||
487 | }; | 487 | }; |
488 | 488 | ||
489 | struct wl12xx_platform_data omap3evm_wlan_data __initdata = { | 489 | struct wl12xx_platform_data omap3evm_wlan_data __initdata = { |
490 | .irq = OMAP_GPIO_IRQ(OMAP3EVM_WLAN_IRQ_GPIO), | ||
491 | .board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */ | 490 | .board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */ |
492 | }; | 491 | }; |
493 | #endif | 492 | #endif |
@@ -623,6 +622,7 @@ static void __init omap3_evm_wl12xx_init(void) | |||
623 | int ret; | 622 | int ret; |
624 | 623 | ||
625 | /* WL12xx WLAN Init */ | 624 | /* WL12xx WLAN Init */ |
625 | omap3evm_wlan_data.irq = gpio_to_irq(OMAP3EVM_WLAN_IRQ_GPIO); | ||
626 | ret = wl12xx_set_platform_data(&omap3evm_wlan_data); | 626 | ret = wl12xx_set_platform_data(&omap3evm_wlan_data); |
627 | if (ret) | 627 | if (ret) |
628 | pr_err("error setting wl12xx data: %d\n", ret); | 628 | pr_err("error setting wl12xx data: %d\n", ret); |
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 8bf8e99c358e..d8c0e89f0126 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
@@ -231,7 +231,6 @@ static struct platform_device omap_vwlan_device = { | |||
231 | }; | 231 | }; |
232 | 232 | ||
233 | struct wl12xx_platform_data omap_panda_wlan_data __initdata = { | 233 | struct wl12xx_platform_data omap_panda_wlan_data __initdata = { |
234 | .irq = OMAP_GPIO_IRQ(GPIO_WIFI_IRQ), | ||
235 | /* PANDA ref clock is 38.4 MHz */ | 234 | /* PANDA ref clock is 38.4 MHz */ |
236 | .board_ref_clock = 2, | 235 | .board_ref_clock = 2, |
237 | }; | 236 | }; |
@@ -558,6 +557,7 @@ static void __init omap4_panda_init(void) | |||
558 | package = OMAP_PACKAGE_CBL; | 557 | package = OMAP_PACKAGE_CBL; |
559 | omap4_mux_init(board_mux, NULL, package); | 558 | omap4_mux_init(board_mux, NULL, package); |
560 | 559 | ||
560 | omap_panda_wlan_data.irq = gpio_to_irq(GPIO_WIFI_IRQ); | ||
561 | ret = wl12xx_set_platform_data(&omap_panda_wlan_data); | 561 | ret = wl12xx_set_platform_data(&omap_panda_wlan_data); |
562 | if (ret) | 562 | if (ret) |
563 | pr_err("error setting wl12xx data: %d\n", ret); | 563 | pr_err("error setting wl12xx data: %d\n", ret); |
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index f120997309af..d87ee0612098 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -170,7 +170,6 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { | |||
170 | .modalias = "tsc2005", | 170 | .modalias = "tsc2005", |
171 | .bus_num = 1, | 171 | .bus_num = 1, |
172 | .chip_select = 0, | 172 | .chip_select = 0, |
173 | .irq = OMAP_GPIO_IRQ(RX51_TSC2005_IRQ_GPIO), | ||
174 | .max_speed_hz = 6000000, | 173 | .max_speed_hz = 6000000, |
175 | .controller_data = &tsc2005_mcspi_config, | 174 | .controller_data = &tsc2005_mcspi_config, |
176 | .platform_data = &tsc2005_pdata, | 175 | .platform_data = &tsc2005_pdata, |
@@ -1129,6 +1128,8 @@ static void __init rx51_init_tsc2005(void) | |||
1129 | } | 1128 | } |
1130 | 1129 | ||
1131 | tsc2005_pdata.set_reset = rx51_tsc2005_set_reset; | 1130 | tsc2005_pdata.set_reset = rx51_tsc2005_set_reset; |
1131 | rx51_peripherals_spi_board_info[RX51_SPI_TSC2005].irq = | ||
1132 | gpio_to_irq(RX51_TSC2005_IRQ_GPIO); | ||
1132 | } | 1133 | } |
1133 | 1134 | ||
1134 | void __init rx51_peripherals_init(void) | 1135 | void __init rx51_peripherals_init(void) |
diff --git a/arch/arm/mach-omap2/board-zoom-debugboard.c b/arch/arm/mach-omap2/board-zoom-debugboard.c index 369c2eb7715b..1e8540eabde9 100644 --- a/arch/arm/mach-omap2/board-zoom-debugboard.c +++ b/arch/arm/mach-omap2/board-zoom-debugboard.c | |||
@@ -43,7 +43,6 @@ static inline void __init zoom_init_smsc911x(void) | |||
43 | static struct plat_serial8250_port serial_platform_data[] = { | 43 | static struct plat_serial8250_port serial_platform_data[] = { |
44 | { | 44 | { |
45 | .mapbase = ZOOM_UART_BASE, | 45 | .mapbase = ZOOM_UART_BASE, |
46 | .irq = OMAP_GPIO_IRQ(102), | ||
47 | .flags = UPF_BOOT_AUTOCONF|UPF_IOREMAP|UPF_SHARE_IRQ, | 46 | .flags = UPF_BOOT_AUTOCONF|UPF_IOREMAP|UPF_SHARE_IRQ, |
48 | .irqflags = IRQF_SHARED | IRQF_TRIGGER_RISING, | 47 | .irqflags = IRQF_SHARED | IRQF_TRIGGER_RISING, |
49 | .iotype = UPIO_MEM, | 48 | .iotype = UPIO_MEM, |
@@ -89,6 +88,8 @@ static inline void __init zoom_init_quaduart(void) | |||
89 | if (gpio_request_one(quart_gpio, GPIOF_IN, "TL16CP754C GPIO") < 0) | 88 | if (gpio_request_one(quart_gpio, GPIOF_IN, "TL16CP754C GPIO") < 0) |
90 | printk(KERN_ERR "Failed to request GPIO%d for TL16CP754C\n", | 89 | printk(KERN_ERR "Failed to request GPIO%d for TL16CP754C\n", |
91 | quart_gpio); | 90 | quart_gpio); |
91 | |||
92 | serial_platform_data[0].irq = gpio_to_irq(102); | ||
92 | } | 93 | } |
93 | 94 | ||
94 | static inline int omap_zoom_debugboard_detect(void) | 95 | static inline int omap_zoom_debugboard_detect(void) |
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c index 3d39cdb2e250..b797cb279618 100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c | |||
@@ -193,7 +193,6 @@ static struct platform_device omap_vwlan_device = { | |||
193 | }; | 193 | }; |
194 | 194 | ||
195 | static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = { | 195 | static struct wl12xx_platform_data omap_zoom_wlan_data __initdata = { |
196 | .irq = OMAP_GPIO_IRQ(OMAP_ZOOM_WLAN_IRQ_GPIO), | ||
197 | /* ZOOM ref clock is 26 MHz */ | 196 | /* ZOOM ref clock is 26 MHz */ |
198 | .board_ref_clock = 1, | 197 | .board_ref_clock = 1, |
199 | }; | 198 | }; |
@@ -297,7 +296,10 @@ static void enable_board_wakeup_source(void) | |||
297 | 296 | ||
298 | void __init zoom_peripherals_init(void) | 297 | void __init zoom_peripherals_init(void) |
299 | { | 298 | { |
300 | int ret = wl12xx_set_platform_data(&omap_zoom_wlan_data); | 299 | int ret; |
300 | |||
301 | omap_zoom_wlan_data.irq = gpio_to_irq(OMAP_ZOOM_WLAN_IRQ_GPIO); | ||
302 | ret = wl12xx_set_platform_data(&omap_zoom_wlan_data); | ||
301 | 303 | ||
302 | if (ret) | 304 | if (ret) |
303 | pr_err("error setting wl12xx data: %d\n", ret); | 305 | pr_err("error setting wl12xx data: %d\n", ret); |
diff --git a/arch/arm/mach-omap2/common-board-devices.c b/arch/arm/mach-omap2/common-board-devices.c index 9498b0f5fbd0..1706ebcec08d 100644 --- a/arch/arm/mach-omap2/common-board-devices.c +++ b/arch/arm/mach-omap2/common-board-devices.c | |||
@@ -76,7 +76,7 @@ void __init omap_ads7846_init(int bus_num, int gpio_pendown, int gpio_debounce, | |||
76 | } | 76 | } |
77 | 77 | ||
78 | spi_bi->bus_num = bus_num; | 78 | spi_bi->bus_num = bus_num; |
79 | spi_bi->irq = OMAP_GPIO_IRQ(gpio_pendown); | 79 | spi_bi->irq = gpio_to_irq(gpio_pendown); |
80 | 80 | ||
81 | if (board_pdata) { | 81 | if (board_pdata) { |
82 | board_pdata->gpio_pendown = gpio_pendown; | 82 | board_pdata->gpio_pendown = gpio_pendown; |
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 9706c648bc19..db5a88a36c63 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
@@ -99,7 +99,7 @@ static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initdata = { | |||
99 | { "dss_hdmi", "omapdss_hdmi", -1 }, | 99 | { "dss_hdmi", "omapdss_hdmi", -1 }, |
100 | }; | 100 | }; |
101 | 101 | ||
102 | static void omap4_hdmi_mux_pads(enum omap_hdmi_flags flags) | 102 | static void __init omap4_hdmi_mux_pads(enum omap_hdmi_flags flags) |
103 | { | 103 | { |
104 | u32 reg; | 104 | u32 reg; |
105 | u16 control_i2c_1; | 105 | u16 control_i2c_1; |
@@ -125,7 +125,7 @@ static void omap4_hdmi_mux_pads(enum omap_hdmi_flags flags) | |||
125 | } | 125 | } |
126 | } | 126 | } |
127 | 127 | ||
128 | static int __init omap4_dsi_mux_pads(int dsi_id, unsigned lanes) | 128 | static int omap4_dsi_mux_pads(int dsi_id, unsigned lanes) |
129 | { | 129 | { |
130 | u32 enable_mask, enable_shift; | 130 | u32 enable_mask, enable_shift; |
131 | u32 pipd_mask, pipd_shift; | 131 | u32 pipd_mask, pipd_shift; |
@@ -166,7 +166,7 @@ int __init omap_hdmi_init(enum omap_hdmi_flags flags) | |||
166 | return 0; | 166 | return 0; |
167 | } | 167 | } |
168 | 168 | ||
169 | static int __init omap_dsi_enable_pads(int dsi_id, unsigned lane_mask) | 169 | static int omap_dsi_enable_pads(int dsi_id, unsigned lane_mask) |
170 | { | 170 | { |
171 | if (cpu_is_omap44xx()) | 171 | if (cpu_is_omap44xx()) |
172 | return omap4_dsi_mux_pads(dsi_id, lane_mask); | 172 | return omap4_dsi_mux_pads(dsi_id, lane_mask); |
@@ -174,7 +174,7 @@ static int __init omap_dsi_enable_pads(int dsi_id, unsigned lane_mask) | |||
174 | return 0; | 174 | return 0; |
175 | } | 175 | } |
176 | 176 | ||
177 | static void __init omap_dsi_disable_pads(int dsi_id, unsigned lane_mask) | 177 | static void omap_dsi_disable_pads(int dsi_id, unsigned lane_mask) |
178 | { | 178 | { |
179 | if (cpu_is_omap44xx()) | 179 | if (cpu_is_omap44xx()) |
180 | omap4_dsi_mux_pads(dsi_id, 0); | 180 | omap4_dsi_mux_pads(dsi_id, 0); |
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index a7bdec69a2b3..d0c1c9695996 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -17,6 +17,8 @@ | |||
17 | #include <linux/export.h> | 17 | #include <linux/export.h> |
18 | #include <linux/suspend.h> | 18 | #include <linux/suspend.h> |
19 | 19 | ||
20 | #include <asm/system_misc.h> | ||
21 | |||
20 | #include <plat/omap-pm.h> | 22 | #include <plat/omap-pm.h> |
21 | #include <plat/omap_device.h> | 23 | #include <plat/omap_device.h> |
22 | #include "common.h" | 24 | #include "common.h" |
diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 638eebedc883..313274016277 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c | |||
@@ -714,7 +714,6 @@ struct da9030_battery_info cm_x300_battery_info = { | |||
714 | 714 | ||
715 | static struct regulator_consumer_supply buck2_consumers[] = { | 715 | static struct regulator_consumer_supply buck2_consumers[] = { |
716 | { | 716 | { |
717 | .dev = NULL, | ||
718 | .supply = "vcc_core", | 717 | .supply = "vcc_core", |
719 | }, | 718 | }, |
720 | }; | 719 | }; |
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index c1b65da26335..16ec557b8e43 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c | |||
@@ -1083,19 +1083,19 @@ static void __init em_x270_userspace_consumers_init(void) | |||
1083 | } | 1083 | } |
1084 | 1084 | ||
1085 | /* DA9030 related initializations */ | 1085 | /* DA9030 related initializations */ |
1086 | #define REGULATOR_CONSUMER(_name, _dev, _supply) \ | 1086 | #define REGULATOR_CONSUMER(_name, _dev_name, _supply) \ |
1087 | static struct regulator_consumer_supply _name##_consumers[] = { \ | 1087 | static struct regulator_consumer_supply _name##_consumers[] = { \ |
1088 | { \ | 1088 | { \ |
1089 | .dev = _dev, \ | 1089 | .dev_name = _dev_name, \ |
1090 | .supply = _supply, \ | 1090 | .supply = _supply, \ |
1091 | }, \ | 1091 | }, \ |
1092 | } | 1092 | } |
1093 | 1093 | ||
1094 | REGULATOR_CONSUMER(ldo3, &em_x270_gps_userspace_consumer.dev, "vcc gps"); | 1094 | REGULATOR_CONSUMER(ldo3, "reg-userspace-consumer.0", "vcc gps"); |
1095 | REGULATOR_CONSUMER(ldo5, NULL, "vcc cam"); | 1095 | REGULATOR_CONSUMER(ldo5, NULL, "vcc cam"); |
1096 | REGULATOR_CONSUMER(ldo10, &pxa_device_mci.dev, "vcc sdio"); | 1096 | REGULATOR_CONSUMER(ldo10, "pxa2xx-mci", "vcc sdio"); |
1097 | REGULATOR_CONSUMER(ldo12, NULL, "vcc usb"); | 1097 | REGULATOR_CONSUMER(ldo12, NULL, "vcc usb"); |
1098 | REGULATOR_CONSUMER(ldo19, &em_x270_gprs_userspace_consumer.dev, "vcc gprs"); | 1098 | REGULATOR_CONSUMER(ldo19, "reg-userspace-consumer.1", "vcc gprs"); |
1099 | REGULATOR_CONSUMER(buck2, NULL, "vcc_core"); | 1099 | REGULATOR_CONSUMER(buck2, NULL, "vcc_core"); |
1100 | 1100 | ||
1101 | #define REGULATOR_INIT(_ldo, _min_uV, _max_uV, _ops_mask) \ | 1101 | #define REGULATOR_INIT(_ldo, _min_uV, _max_uV, _ops_mask) \ |
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c index 3fa929d4a4f5..b83b95a29503 100644 --- a/arch/arm/mach-pxa/hx4700.c +++ b/arch/arm/mach-pxa/hx4700.c | |||
@@ -681,11 +681,9 @@ static struct platform_device power_supply = { | |||
681 | 681 | ||
682 | static struct regulator_consumer_supply bq24022_consumers[] = { | 682 | static struct regulator_consumer_supply bq24022_consumers[] = { |
683 | { | 683 | { |
684 | .dev = &gpio_vbus.dev, | ||
685 | .supply = "vbus_draw", | 684 | .supply = "vbus_draw", |
686 | }, | 685 | }, |
687 | { | 686 | { |
688 | .dev = &power_supply.dev, | ||
689 | .supply = "ac_draw", | 687 | .supply = "ac_draw", |
690 | }, | 688 | }, |
691 | }; | 689 | }; |
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 6f4785b347c2..8de0651d7efb 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -580,11 +580,9 @@ static struct platform_device power_supply = { | |||
580 | 580 | ||
581 | static struct regulator_consumer_supply bq24022_consumers[] = { | 581 | static struct regulator_consumer_supply bq24022_consumers[] = { |
582 | { | 582 | { |
583 | .dev = &gpio_vbus.dev, | ||
584 | .supply = "vbus_draw", | 583 | .supply = "vbus_draw", |
585 | }, | 584 | }, |
586 | { | 585 | { |
587 | .dev = &power_supply.dev, | ||
588 | .supply = "ac_draw", | 586 | .supply = "ac_draw", |
589 | }, | 587 | }, |
590 | }; | 588 | }; |
diff --git a/arch/arm/mach-pxa/stargate2.c b/arch/arm/mach-pxa/stargate2.c index adb601a3762f..4cd645e29b64 100644 --- a/arch/arm/mach-pxa/stargate2.c +++ b/arch/arm/mach-pxa/stargate2.c | |||
@@ -152,7 +152,7 @@ static struct platform_device sht15 = { | |||
152 | 152 | ||
153 | static struct regulator_consumer_supply stargate2_sensor_3_con[] = { | 153 | static struct regulator_consumer_supply stargate2_sensor_3_con[] = { |
154 | { | 154 | { |
155 | .dev = &sht15.dev, | 155 | .dev_name = "sht15", |
156 | .supply = "vcc", | 156 | .supply = "vcc", |
157 | }, | 157 | }, |
158 | }; | 158 | }; |
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c index e20b419d5983..0952494f481a 100644 --- a/arch/arm/mach-tegra/board-dt-tegra20.c +++ b/arch/arm/mach-tegra/board-dt-tegra20.c | |||
@@ -68,11 +68,11 @@ struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { | |||
68 | OF_DEV_AUXDATA("nvidia,tegra20-i2s", TEGRA_I2S2_BASE, "tegra-i2s.1", NULL), | 68 | OF_DEV_AUXDATA("nvidia,tegra20-i2s", TEGRA_I2S2_BASE, "tegra-i2s.1", NULL), |
69 | OF_DEV_AUXDATA("nvidia,tegra20-das", TEGRA_APB_MISC_DAS_BASE, "tegra-das", NULL), | 69 | OF_DEV_AUXDATA("nvidia,tegra20-das", TEGRA_APB_MISC_DAS_BASE, "tegra-das", NULL), |
70 | OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB_BASE, "tegra-ehci.0", | 70 | OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB_BASE, "tegra-ehci.0", |
71 | &tegra_ehci1_device.dev.platform_data), | 71 | &tegra_ehci1_pdata), |
72 | OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB2_BASE, "tegra-ehci.1", | 72 | OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB2_BASE, "tegra-ehci.1", |
73 | &tegra_ehci2_device.dev.platform_data), | 73 | &tegra_ehci2_pdata), |
74 | OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB3_BASE, "tegra-ehci.2", | 74 | OF_DEV_AUXDATA("nvidia,tegra20-ehci", TEGRA_USB3_BASE, "tegra-ehci.2", |
75 | &tegra_ehci3_device.dev.platform_data), | 75 | &tegra_ehci3_pdata), |
76 | {} | 76 | {} |
77 | }; | 77 | }; |
78 | 78 | ||
diff --git a/arch/arm/mach-tegra/devices.c b/arch/arm/mach-tegra/devices.c index 7a2a02dbd632..5f6b867e20b4 100644 --- a/arch/arm/mach-tegra/devices.c +++ b/arch/arm/mach-tegra/devices.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/fsl_devices.h> | 23 | #include <linux/fsl_devices.h> |
24 | #include <linux/serial_8250.h> | 24 | #include <linux/serial_8250.h> |
25 | #include <linux/i2c-tegra.h> | 25 | #include <linux/i2c-tegra.h> |
26 | #include <linux/platform_data/tegra_usb.h> | ||
27 | #include <asm/pmu.h> | 26 | #include <asm/pmu.h> |
28 | #include <mach/irqs.h> | 27 | #include <mach/irqs.h> |
29 | #include <mach/iomap.h> | 28 | #include <mach/iomap.h> |
@@ -446,18 +445,18 @@ static struct tegra_ulpi_config tegra_ehci2_ulpi_phy_config = { | |||
446 | .clk = "cdev2", | 445 | .clk = "cdev2", |
447 | }; | 446 | }; |
448 | 447 | ||
449 | static struct tegra_ehci_platform_data tegra_ehci1_pdata = { | 448 | struct tegra_ehci_platform_data tegra_ehci1_pdata = { |
450 | .operating_mode = TEGRA_USB_OTG, | 449 | .operating_mode = TEGRA_USB_OTG, |
451 | .power_down_on_bus_suspend = 1, | 450 | .power_down_on_bus_suspend = 1, |
452 | }; | 451 | }; |
453 | 452 | ||
454 | static struct tegra_ehci_platform_data tegra_ehci2_pdata = { | 453 | struct tegra_ehci_platform_data tegra_ehci2_pdata = { |
455 | .phy_config = &tegra_ehci2_ulpi_phy_config, | 454 | .phy_config = &tegra_ehci2_ulpi_phy_config, |
456 | .operating_mode = TEGRA_USB_HOST, | 455 | .operating_mode = TEGRA_USB_HOST, |
457 | .power_down_on_bus_suspend = 1, | 456 | .power_down_on_bus_suspend = 1, |
458 | }; | 457 | }; |
459 | 458 | ||
460 | static struct tegra_ehci_platform_data tegra_ehci3_pdata = { | 459 | struct tegra_ehci_platform_data tegra_ehci3_pdata = { |
461 | .operating_mode = TEGRA_USB_HOST, | 460 | .operating_mode = TEGRA_USB_HOST, |
462 | .power_down_on_bus_suspend = 1, | 461 | .power_down_on_bus_suspend = 1, |
463 | }; | 462 | }; |
diff --git a/arch/arm/mach-tegra/devices.h b/arch/arm/mach-tegra/devices.h index 873ecb2f8ae6..ec455679b219 100644 --- a/arch/arm/mach-tegra/devices.h +++ b/arch/arm/mach-tegra/devices.h | |||
@@ -20,6 +20,11 @@ | |||
20 | #define __MACH_TEGRA_DEVICES_H | 20 | #define __MACH_TEGRA_DEVICES_H |
21 | 21 | ||
22 | #include <linux/platform_device.h> | 22 | #include <linux/platform_device.h> |
23 | #include <linux/platform_data/tegra_usb.h> | ||
24 | |||
25 | extern struct tegra_ehci_platform_data tegra_ehci1_pdata; | ||
26 | extern struct tegra_ehci_platform_data tegra_ehci2_pdata; | ||
27 | extern struct tegra_ehci_platform_data tegra_ehci3_pdata; | ||
23 | 28 | ||
24 | extern struct platform_device tegra_gpio_device; | 29 | extern struct platform_device tegra_gpio_device; |
25 | extern struct platform_device tegra_pinmux_device; | 30 | extern struct platform_device tegra_pinmux_device; |
diff --git a/arch/arm/plat-omap/include/plat/gpio.h b/arch/arm/plat-omap/include/plat/gpio.h index b8a96c6a1a30..2f6e9924a814 100644 --- a/arch/arm/plat-omap/include/plat/gpio.h +++ b/arch/arm/plat-omap/include/plat/gpio.h | |||
@@ -158,10 +158,6 @@ | |||
158 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) | 158 | #define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr)) |
159 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) | 159 | #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES) |
160 | 160 | ||
161 | #define OMAP_GPIO_IRQ(nr) (OMAP_GPIO_IS_MPUIO(nr) ? \ | ||
162 | IH_MPUIO_BASE + ((nr) & 0x0f) : \ | ||
163 | IH_GPIO_BASE + (nr)) | ||
164 | |||
165 | struct omap_gpio_dev_attr { | 161 | struct omap_gpio_dev_attr { |
166 | int bank_width; /* GPIO bank width */ | 162 | int bank_width; /* GPIO bank width */ |
167 | bool dbck_flag; /* dbck required or not - True for OMAP3&4 */ | 163 | bool dbck_flag; /* dbck required or not - True for OMAP3&4 */ |
diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c index bd5b10eeeb40..f5fbdf94de3b 100644 --- a/drivers/input/serio/ams_delta_serio.c +++ b/drivers/input/serio/ams_delta_serio.c | |||
@@ -184,7 +184,7 @@ module_init(ams_delta_serio_init); | |||
184 | static void __exit ams_delta_serio_exit(void) | 184 | static void __exit ams_delta_serio_exit(void) |
185 | { | 185 | { |
186 | serio_unregister_port(ams_delta_serio); | 186 | serio_unregister_port(ams_delta_serio); |
187 | free_irq(OMAP_GPIO_IRQ(AMS_DELTA_GPIO_PIN_KEYBRD_CLK), 0); | 187 | free_irq(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK), 0); |
188 | gpio_free_array(ams_delta_gpios, | 188 | gpio_free_array(ams_delta_gpios, |
189 | ARRAY_SIZE(ams_delta_gpios)); | 189 | ARRAY_SIZE(ams_delta_gpios)); |
190 | } | 190 | } |