msm: board-qrd7627a: Fix compilation when BT & Marimba is disabled
Add Config macros for BT and MARIMBA to fix the compilation
when CONFIG_BT & CONFIG_MARIMBA_CORE is disabled.
Change-Id: Ia6185845e88948f61de3c5212f5b61a13c37f486
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-qrd7627a.c b/arch/arm/mach-msm/board-qrd7627a.c
index d192faf..91bb455 100644
--- a/arch/arm/mach-msm/board-qrd7627a.c
+++ b/arch/arm/mach-msm/board-qrd7627a.c
@@ -77,6 +77,7 @@
/* FM Platform power and shutdown routines */
#define FPGA_MSM_CNTRL_REG2 0x90008010
+#if defined(CONFIG_BT) && defined(CONFIG_MARIMBA_CORE)
static void config_pcm_i2s_mode(int mode)
{
void __iomem *cfg_ptr;
@@ -401,6 +402,7 @@
.is_fm_soc_i2s_master = true,
.config_i2s_gpio = msm_bahama_setup_pcm_i2s,
};
+#endif
static struct platform_device msm_wlan_ar6000_pm_device = {
.name = "wlan_ar6000_pm_dev",