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: 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
4a7042e599
commit
e181d14ac3
|
@ -32,6 +32,7 @@ static struct snd_soc_dai_link txx9aclc_generic_dai = {
|
|||
|
||||
static struct snd_soc_card txx9aclc_generic_card = {
|
||||
.name = "Generic TXx9 ACLC Audio",
|
||||
.owner = THIS_MODULE,
|
||||
.dai_link = &txx9aclc_generic_dai,
|
||||
.num_links = 1,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue