Set up GPIO 166 for WIFI_IRQ.
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 5422fae..6e5979d 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -69,6 +69,7 @@
 #define GPIO_SDIO_EXP_ACT_N	43
 #define GPIO_DISPLAY_MUX        159
 #define GPIO_HDMI_SELECT	160
+#define GPIO_WIFI_IRQ           166
 #define GPIO_V3P3_NN		168
 #define GPIO_AUDIO_CLK_EN	169
 #define GPIO_WAKE_BTN		30
@@ -236,7 +237,7 @@
 };
 
 static struct wl12xx_platform_data omap_panda_wlan_data __initdata = {
-	.irq = OMAP_GPIO_IRQ(115),
+	.irq = OMAP_GPIO_IRQ(GPIO_WIFI_IRQ),
 	.board_ref_clock = 2,	// 38.4 MHz
 };
 
@@ -930,6 +931,7 @@
 		package = OMAP_PACKAGE_CBL;
 	omap4_mux_init(board_mux, NULL, package);
 
+	omap_mux_init_gpio(GPIO_WIFI_IRQ, OMAP_PIN_INPUT | OMAP_PIN_OFF_WAKEUPENABLE);
 	if (wl12xx_set_platform_data(&omap_panda_wlan_data))
 		pr_err("error setting wl12xx data\n");