]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/soc/codecs/wl1273.c
sound: Add module.h to the previously silent sound users
[mirror_ubuntu-bionic-kernel.git] / sound / soc / codecs / wl1273.c
index 5836201834d97dcc769347ab98827841fce013ca..a854989829911a62eae6fdf3cf3336b917f748c4 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <linux/mfd/wl1273-core.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
@@ -462,7 +463,6 @@ static int wl1273_probe(struct snd_soc_codec *codec)
        wl1273->core = *core;
 
        snd_soc_codec_set_drvdata(codec, wl1273);
-       mutex_init(&codec->mutex);
 
        r = snd_soc_add_controls(codec, wl1273_controls,
                                 ARRAY_SIZE(wl1273_controls));