Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8270ba0c authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: mid-x86: Add .owner to struct snd_soc_card



Add missing .owner of struct snd_soc_card. This prevents the module from being
removed from underneath its users.

Reported-by: default avatarLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9b344ce8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -323,6 +323,7 @@ static 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),
};