aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cx20442.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/cx20442.c')
-rw-r--r--sound/soc/codecs/cx20442.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c
index e000cdfec1ec..f07a415c753f 100644
--- a/sound/soc/codecs/cx20442.c
+++ b/sound/soc/codecs/cx20442.c
@@ -14,6 +14,7 @@
14 */ 14 */
15 15
16#include <linux/tty.h> 16#include <linux/tty.h>
17#include <linux/slab.h>
17 18
18#include <sound/core.h> 19#include <sound/core.h>
19#include <sound/initval.h> 20#include <sound/initval.h>
@@ -386,7 +387,7 @@ static int cx20442_register(struct cx20442_priv *cx20442)
386 387
387 codec->name = "CX20442"; 388 codec->name = "CX20442";
388 codec->owner = THIS_MODULE; 389 codec->owner = THIS_MODULE;
389 codec->private_data = cx20442; 390 snd_soc_codec_set_drvdata(codec, cx20442);
390 391
391 codec->dai = &cx20442_dai; 392 codec->dai = &cx20442_dai;
392 codec->num_dai = 1; 393 codec->num_dai = 1;