Samsung sound drivers use mach/dma.h which is not available on multiplatform. Hence disable audio support on multiplatform build for now. Without this patch we get the following build errors:
sound/soc/samsung/pcm.c:23:22: fatal error: mach/dma.h: No such file or directory #include <mach/dma.h> sound/soc/samsung/spdif.c:21:22: fatal error: mach/dma.h: No such file or directory #include <mach/dma.h>
Signed-off-by: Sachin Kamat sachin.kamat@linaro.org --- sound/soc/samsung/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig index e8fbf4e5732f..3a031af5febd 100644 --- a/sound/soc/samsung/Kconfig +++ b/sound/soc/samsung/Kconfig @@ -170,7 +170,7 @@ config SND_SOC_GONI_AQUILA_WM8994
config SND_SOC_SAMSUNG_SMDK_SPDIF tristate "SoC S/PDIF Audio support for SMDK" - depends on SND_SOC_SAMSUNG + depends on SND_SOC_SAMSUNG && !ARCH_MULTIPLATFORM select SND_SAMSUNG_SPDIF help Say Y if you want to add support for SoC S/PDIF audio on the SMDK. @@ -185,7 +185,7 @@ config SND_SOC_SMDK_WM8580_PCM
config SND_SOC_SMDK_WM8994_PCM tristate "SoC PCM Audio support for WM8994 on SMDK" - depends on SND_SOC_SAMSUNG + depends on SND_SOC_SAMSUNG && !ARCH_MULTIPLATFORM depends on I2C=y select MFD_WM8994 select SND_SOC_WM8994