mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
ASoC: mop500: 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. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
ad81f0545e
commit
e7c8c589bb
@ -52,6 +52,7 @@ static struct snd_soc_dai_link mop500_dai_links[] = {
|
||||
|
||||
static struct snd_soc_card mop500_card = {
|
||||
.name = "MOP500-card",
|
||||
.owner = THIS_MODULE,
|
||||
.probe = NULL,
|
||||
.dai_link = mop500_dai_links,
|
||||
.num_links = ARRAY_SIZE(mop500_dai_links),
|
||||
|
Loading…
Reference in New Issue
Block a user