Skip to content

Commit

Permalink
ASoC: brownstone: add .owner to struct snd_soc_card
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Mark Brown committed Jul 15, 2013
1 parent ad81f05 commit 0d61786
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/pxa/brownstone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),

Expand Down

0 comments on commit 0d61786

Please sign in to comment.