ASoC: brownstone: 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
0d6178662c
|
@ -129,6 +129,7 @@ static struct snd_soc_dai_link brownstone_wm8994_dai[] = {
|
|||
/* audio machine driver */
|
||||
static struct snd_soc_card brownstone = {
|
||||
.name = "brownstone",
|
||||
.owner = THIS_MODULE,
|
||||
.dai_link = brownstone_wm8994_dai,
|
||||
.num_links = ARRAY_SIZE(brownstone_wm8994_dai),
|
||||
|
||||
|
|
Loading…
Reference in a new issue