aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap4panda.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 28fc271f7031..449600712e19 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -199,7 +199,6 @@ static struct platform_device omap_vwlan_device = {
199}; 199};
200 200
201struct wl12xx_platform_data omap_panda_wlan_data __initdata = { 201struct wl12xx_platform_data omap_panda_wlan_data __initdata = {
202 .irq = OMAP_GPIO_IRQ(GPIO_WIFI_IRQ),
203 /* PANDA ref clock is 38.4 MHz */ 202 /* PANDA ref clock is 38.4 MHz */
204 .board_ref_clock = 2, 203 .board_ref_clock = 2,
205}; 204};
@@ -494,6 +493,7 @@ static void __init omap4_panda_init(void)
494 package = OMAP_PACKAGE_CBL; 493 package = OMAP_PACKAGE_CBL;
495 omap4_mux_init(board_mux, NULL, package); 494 omap4_mux_init(board_mux, NULL, package);
496 495
496 omap_panda_wlan_data.irq = gpio_to_irq(GPIO_WIFI_IRQ);
497 ret = wl12xx_set_platform_data(&omap_panda_wlan_data); 497 ret = wl12xx_set_platform_data(&omap_panda_wlan_data);
498 if (ret) 498 if (ret)
499 pr_err("error setting wl12xx data: %d\n", ret); 499 pr_err("error setting wl12xx data: %d\n", ret);