diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-04-08 17:11:04 +0530 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-08 12:51:57 +0100 |
commit | 71e5222cbea124d737e1fe7de8e255253c12cd29 (patch) | |
tree | 3a2062d7ca89446e23a97f3b778b49b5537a3d6c /sound/soc/samsung/s3c24xx-i2s.c | |
parent | c159a85013afbb8283f0c7272812952e04d5c3a1 (diff) | |
download | op-kernel-dev-71e5222cbea124d737e1fe7de8e255253c12cd29.zip op-kernel-dev-71e5222cbea124d737e1fe7de8e255253c12cd29.tar.gz |
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>
Diffstat (limited to 'sound/soc/samsung/s3c24xx-i2s.c')
-rw-r--r-- | sound/soc/samsung/s3c24xx-i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c index f31e916..d7b8457 100644 --- a/sound/soc/samsung/s3c24xx-i2s.c +++ b/sound/soc/samsung/s3c24xx-i2s.c @@ -31,11 +31,11 @@ #include "dma.h" #include "s3c24xx-i2s.h" -static struct s3c2410_dma_client s3c24xx_dma_client_out = { +static struct s3c_dma_client s3c24xx_dma_client_out = { .name = "I2S PCM Stereo out" }; -static struct s3c2410_dma_client s3c24xx_dma_client_in = { +static struct s3c_dma_client s3c24xx_dma_client_in = { .name = "I2S PCM Stereo in" }; |