diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-04-08 13:41:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-08 13:51:57 +0200 |
commit | 71e5222cbea124d737e1fe7de8e255253c12cd29 (patch) | |
tree | 3a2062d7ca89446e23a97f3b778b49b5537a3d6c /sound/soc/samsung/ac97.c | |
parent | Merge remote-tracking branches 'asoc/topic/tdm' and 'asoc/topic/tegra' into a... (diff) | |
download | linux-71e5222cbea124d737e1fe7de8e255253c12cd29.tar.xz linux-71e5222cbea124d737e1fe7de8e255253c12cd29.zip |
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/ac97.c')
-rw-r--r-- | sound/soc/samsung/ac97.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c index 4a88e36c82ec..76b072bd4ba2 100644 --- a/sound/soc/samsung/ac97.c +++ b/sound/soc/samsung/ac97.c @@ -39,15 +39,15 @@ struct s3c_ac97_info { }; static struct s3c_ac97_info s3c_ac97; -static struct s3c2410_dma_client s3c_dma_client_out = { +static struct s3c_dma_client s3c_dma_client_out = { .name = "AC97 PCMOut" }; -static struct s3c2410_dma_client s3c_dma_client_in = { +static struct s3c_dma_client s3c_dma_client_in = { .name = "AC97 PCMIn" }; -static struct s3c2410_dma_client s3c_dma_client_micin = { +static struct s3c_dma_client s3c_dma_client_micin = { .name = "AC97 MicIn" }; |