]> Pileus Git - ~andy/linux/blobdiff - sound/soc/mid-x86/mfld_machine.c
ASoC: wm5100: Make sure we switch to button reporting mode
[~andy/linux] / sound / soc / mid-x86 / mfld_machine.c
index e53f8e473a78be51d13cff82f0cf17a7f5b24da3..6f77eef0f13164b08507c15a1c554e9a1f35c9dc 100644 (file)
@@ -281,7 +281,7 @@ static int mfld_init(struct snd_soc_pcm_runtime *runtime)
        return ret_val;
 }
 
-struct snd_soc_dai_link mfld_msic_dailink[] = {
+static struct snd_soc_dai_link mfld_msic_dailink[] = {
        {
                .name = "Medfield Headset",
                .stream_name = "Headset",
@@ -323,6 +323,7 @@ struct snd_soc_dai_link mfld_msic_dailink[] = {
 /* SoC card */
 static struct snd_soc_card snd_soc_card_mfld = {
        .name = "medfield_audio",
+       .owner = THIS_MODULE,
        .dai_link = mfld_msic_dailink,
        .num_links = ARRAY_SIZE(mfld_msic_dailink),
 };