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: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
9b344ce80f
commit
8270ba0c96
@ -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),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user