diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:35 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:53 -0500 |
commit | 2290c0d06d82faee87b1ab2d9d4f7bf81ef64379 (patch) | |
tree | e075e4d5534193f28e6059904f61e5ca03958d3c /sound/soc/codecs/wl1273.c | |
parent | 4da669a2e3e5bc70b30a0465f3641528681b5f77 (diff) | |
parent | 52e4c2a05256cb83cda12f3c2137ab1533344edb (diff) |
Merge branch 'master' into for-next
Sync with Linus tree to have 157550ff ("mtd: add GPMI-NAND driver
in the config and Makefile") as I have patch depending on that one.
Diffstat (limited to 'sound/soc/codecs/wl1273.c')
-rw-r--r-- | sound/soc/codecs/wl1273.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wl1273.c b/sound/soc/codecs/wl1273.c index 5836201834d..a8549898299 100644 --- a/sound/soc/codecs/wl1273.c +++ b/sound/soc/codecs/wl1273.c | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <linux/mfd/wl1273-core.h> | 24 | #include <linux/mfd/wl1273-core.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/module.h> | ||
26 | #include <sound/pcm.h> | 27 | #include <sound/pcm.h> |
27 | #include <sound/pcm_params.h> | 28 | #include <sound/pcm_params.h> |
28 | #include <sound/soc.h> | 29 | #include <sound/soc.h> |
@@ -462,7 +463,6 @@ static int wl1273_probe(struct snd_soc_codec *codec) | |||
462 | wl1273->core = *core; | 463 | wl1273->core = *core; |
463 | 464 | ||
464 | snd_soc_codec_set_drvdata(codec, wl1273); | 465 | snd_soc_codec_set_drvdata(codec, wl1273); |
465 | mutex_init(&codec->mutex); | ||
466 | 466 | ||
467 | r = snd_soc_add_controls(codec, wl1273_controls, | 467 | r = snd_soc_add_controls(codec, wl1273_controls, |
468 | ARRAY_SIZE(wl1273_controls)); | 468 | ARRAY_SIZE(wl1273_controls)); |