board-msm7x27a:wlan: Added support for Atheros wlan.
Added Atheros AR6003 wlan power management registration with kernel.
Signed-off-by: Santosh Sajjan <ssajjan@codeaurora.org>
Conflicts:
arch/arm/mach-msm/board-msm7x27a.c
diff --git a/arch/arm/mach-msm/board-msm7x27a.c b/arch/arm/mach-msm/board-msm7x27a.c
index 29a0272..517d5ae 100644
--- a/arch/arm/mach-msm/board-msm7x27a.c
+++ b/arch/arm/mach-msm/board-msm7x27a.c
@@ -448,6 +448,11 @@
.config_i2s_gpio = msm_bahama_setup_pcm_i2s,
};
+static struct platform_device msm_wlan_ar6000_pm_device = {
+ .name = "wlan_ar6000_pm_dev",
+ .id = -1,
+};
+
static struct platform_device msm_bt_power_device = {
.name = "bt_power",
};
@@ -2519,6 +2524,9 @@
#ifdef CONFIG_BT
&msm_bt_power_device,
#endif
+#if defined(CONFIG_BT) && defined(CONFIG_MARIMBA_CORE)
+ &msm_wlan_ar6000_pm_device,
+#endif
};
static unsigned pmem_kernel_ebi1_size = PMEM_KERNEL_EBI1_SIZE;