]> 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)
commit276669e7fd0e3b69ca1c215f4e961a146d17d6cd
tree3a2062d7ca89446e23a97f3b778b49b5537a3d6c
parentddbff1fd7b05ff5388e8ae80aac4625d1756d156
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