aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3evm.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-03-29 13:16:04 -0400
committerTony Lindgren <tony@atomide.com>2012-03-29 13:16:04 -0400
commit2533c2cfbff8f0ee53b8448d6362b54c272125aa (patch)
treee254f804f2da2f79e66ea71a1e534574ae9da2ac /arch/arm/mach-omap2/board-omap3evm.c
parenta2cb960f171228e17a28ff734289be60b75417c7 (diff)
parent21235bdb8aa5e8320b08f79525a45185a52b07df (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-omap2/board-omap3evm.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3evm.c2
1 files changed, 1 insertions, 1 deletions
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
489struct wl12xx_platform_data omap3evm_wlan_data __initdata = { 489struct 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);