ASoC: Update config of SND_HWDEP
As CONFIG_SND_HWDEP is defined by default
in kernel tree, msm-pcm-routing-devdep.c file
in audio drivers gets compiled always.
Use CONFIG_SND_HWDEP_ROUTING config instead of
CONFIG_SND_HWDEP to compile msm-pcm-routing-devdep.c
file.
Change-Id: I19c4b0a56dbe6c4890ece645fcf100687f762f5d
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
diff --git a/asoc/Kbuild b/asoc/Kbuild
index 4ebce00..00c2d38 100644
--- a/asoc/Kbuild
+++ b/asoc/Kbuild
@@ -122,7 +122,7 @@
ifdef CONFIG_DOLBY_LICENSE
PLATFORM_OBJS += msm-ds2-dap-config.o
endif
-ifdef CONFIG_SND_HWDEP
+ifdef CONFIG_SND_HWDEP_ROUTING
PLATFORM_OBJS += msm-pcm-routing-devdep.o
endif
ifdef CONFIG_QTI_PP