Skip to content

Commit

Permalink
ASoC: ttc_dkb: 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 0d61786 commit 3986b98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/pxa/ttc-dkb.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ static struct snd_soc_dai_link ttc_pm860x_hifi_dai[] = {
/* ttc/td audio machine driver */
static struct snd_soc_card ttc_dkb_card = {
.name = "ttc-dkb-hifi",
.owner = THIS_MODULE,
.dai_link = ttc_pm860x_hifi_dai,
.num_links = ARRAY_SIZE(ttc_pm860x_hifi_dai),

Expand Down

0 comments on commit 3986b98

Please sign in to comment.