mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-08 14:23:19 +00:00
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
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user