ASoC: omap: Add .owner to struct snd_soc_card

Missed .owner of struct snd_soc_card will prevent 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>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
This commit is contained in:
Axel Lin
2011-12-22 11:08:59 +08:00
کامیت شده توسط Liam Girdwood
والد c5cf4dbc7f
کامیت b425b88418
13فایلهای تغییر یافته به همراه13 افزوده شده و 0 حذف شده

مشاهده پرونده

@@ -108,6 +108,7 @@ static struct snd_soc_dai_link osk_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_card_osk = {
.name = "OSK5912",
.owner = THIS_MODULE,
.dai_link = &osk_dai,
.num_links = 1,