summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/snd-soc-afeb9260.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-22 21:14:58 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 17:34:33 +0000
commit338d68db77aaf90eea9e06517272b7d7a83d95a4 (patch)
tree53ebe00f4c17c0d91d2b166da7d5366edbc1b52d /sound/soc/atmel/snd-soc-afeb9260.c
parent4c3c5df05e02bfa774517cebc5b91b07c2a365dc (diff)
downloadop-kernel-dev-338d68db77aaf90eea9e06517272b7d7a83d95a4.zip
op-kernel-dev-338d68db77aaf90eea9e06517272b7d7a83d95a4.tar.gz
ASoC: atmel: 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/atmel/snd-soc-afeb9260.c')
-rw-r--r--sound/soc/atmel/snd-soc-afeb9260.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/atmel/snd-soc-afeb9260.c b/sound/soc/atmel/snd-soc-afeb9260.c
index d427e92..4ca667d 100644
--- a/sound/soc/atmel/snd-soc-afeb9260.c
+++ b/sound/soc/atmel/snd-soc-afeb9260.c
@@ -135,6 +135,7 @@ static struct snd_soc_dai_link afeb9260_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_machine_afeb9260 = {
.name = "AFEB9260",
+ .owner = THIS_MODULE,
.dai_link = &afeb9260_dai,
.num_links = 1,
};
OpenPOWER on IntegriCloud