Commit e181d14a authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: txx9: 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 4a7042e5
...@@ -32,6 +32,7 @@ static struct snd_soc_dai_link txx9aclc_generic_dai = { ...@@ -32,6 +32,7 @@ static struct snd_soc_dai_link txx9aclc_generic_dai = {
static struct snd_soc_card txx9aclc_generic_card = { static struct snd_soc_card txx9aclc_generic_card = {
.name = "Generic TXx9 ACLC Audio", .name = "Generic TXx9 ACLC Audio",
.owner = THIS_MODULE,
.dai_link = &txx9aclc_generic_dai, .dai_link = &txx9aclc_generic_dai,
.num_links = 1, .num_links = 1,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment