diff options
author | Jarkko Nikula <jhnikula@gmail.com> | 2010-11-21 12:48:44 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-22 09:04:05 -0500 |
commit | 1c8f2c4287bcc1eb596149b2b36be5c809598926 (patch) | |
tree | f3cb03676b418564dd1f8339c221fa066284c13f | |
parent | 9e18e1869f5ebac69f0d881fe97a198ebc0834db (diff) |
ASoC: Fix compile breakage in jz4740.c and smartq_wm8987.c
Commit ce6120c require that soc-dapm.h cannot be included before soc.h but
these two drivers were not checked. Fix them by including only soc.h as it
includes soc-dapm.h.
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/jz4740.c | 1 | ||||
-rw-r--r-- | sound/soc/s3c24xx/smartq_wm8987.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/jz4740.c b/sound/soc/codecs/jz4740.c index 8a45562a96d4..f7cd346fd727 100644 --- a/sound/soc/codecs/jz4740.c +++ b/sound/soc/codecs/jz4740.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <sound/pcm.h> | 22 | #include <sound/pcm.h> |
23 | #include <sound/pcm_params.h> | 23 | #include <sound/pcm_params.h> |
24 | #include <sound/initval.h> | 24 | #include <sound/initval.h> |
25 | #include <sound/soc-dapm.h> | ||
26 | #include <sound/soc.h> | 25 | #include <sound/soc.h> |
27 | 26 | ||
28 | #define JZ4740_REG_CODEC_1 0x0 | 27 | #define JZ4740_REG_CODEC_1 0x0 |
diff --git a/sound/soc/s3c24xx/smartq_wm8987.c b/sound/soc/s3c24xx/smartq_wm8987.c index 1f6da1e27b1e..5b07bb9802ee 100644 --- a/sound/soc/s3c24xx/smartq_wm8987.c +++ b/sound/soc/s3c24xx/smartq_wm8987.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #include <sound/pcm.h> | 20 | #include <sound/pcm.h> |
21 | #include <sound/pcm_params.h> | 21 | #include <sound/pcm_params.h> |
22 | #include <sound/soc-dapm.h> | 22 | #include <sound/soc.h> |
23 | #include <sound/jack.h> | 23 | #include <sound/jack.h> |
24 | 24 | ||
25 | #include <asm/mach-types.h> | 25 | #include <asm/mach-types.h> |