ASoC: jz4740: 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
6aff8ccb0c
commit
1d9d25b352
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ static struct snd_soc_dai_link qi_lb60_dai = {
|
|||
|
||||
static struct snd_soc_card qi_lb60 = {
|
||||
.name = "QI LB60",
|
||||
.owner = THIS_MODULE,
|
||||
.dai_link = &qi_lb60_dai,
|
||||
.num_links = 1,
|
||||
|
||||
|
|
Reference in a new issue