diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-22 05:44:43 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-22 15:04:18 +0400 |
commit | 561c6a172f065fa918d0ff3cecdca1b22dca893f (patch) | |
tree | 64f76d1539b2d14cd7084bd293ba11d4f86cc803 /sound/soc/pxa/mioa701_wm9713.c | |
parent | 5a5049637cf08c4c17805be679c19544bb27fb92 (diff) | |
download | linux-561c6a172f065fa918d0ff3cecdca1b22dca893f.tar.xz |
ASoC: pxa: 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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa/mioa701_wm9713.c')
-rw-r--r-- | sound/soc/pxa/mioa701_wm9713.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c index 0e73a7f718e4..9c585af59b5f 100644 --- a/sound/soc/pxa/mioa701_wm9713.c +++ b/sound/soc/pxa/mioa701_wm9713.c @@ -181,6 +181,7 @@ static struct snd_soc_dai_link mioa701_dai[] = { static struct snd_soc_card mioa701 = { .name = "MioA701", + .owner = THIS_MODULE, .dai_link = mioa701_dai, .num_links = ARRAY_SIZE(mioa701_dai), }; |