Skip to content

Commit

Permalink
ASoC: Fix compile breakage in jz4740.c and smartq_wm8987.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
Jarkko Nikula authored and broonie committed Nov 22, 2010
1 parent 9e18e18 commit 1c8f2c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion sound/soc/codecs/jz4740.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/initval.h>
#include <sound/soc-dapm.h>
#include <sound/soc.h>

#define JZ4740_REG_CODEC_1 0x0
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/s3c24xx/smartq_wm8987.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc-dapm.h>
#include <sound/soc.h>
#include <sound/jack.h>

#include <asm/mach-types.h>
Expand Down

0 comments on commit 1c8f2c4

Please sign in to comment.