]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: Fix build on multiplatform
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 8 Apr 2014 11:41:04 +0000 (17:11 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 8 Apr 2014 11:51:57 +0000 (12:51 +0100)
commit5200e4d7f6534f28a81ae3ae52ad6b8755b613d5
tree3a2062d7ca89446e23a97f3b778b49b5537a3d6c
parent2b6413b794ba8ca089b57a55e21f1889d8794d4b
ASoC: samsung: Fix build on multiplatform

PCM and S/PDIF drivers referenced mach headers for a trivial
data structure. This caused build errors on multiplatform builds
as machine headers are not accessible from driver files. Move the data
structure definition to the driver header and remove the dependency.
While at it rename the structure to avoid multiple definition errors
as the same structure is also used by the platform code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/samsung/ac97.c
sound/soc/samsung/dma.h
sound/soc/samsung/i2s.c
sound/soc/samsung/pcm.c
sound/soc/samsung/s3c2412-i2s.c
sound/soc/samsung/s3c24xx-i2s.c
sound/soc/samsung/spdif.c