summaryrefslogtreecommitdiffstats
path: root/sound/soc/blackfin/bf5xx-ssm2602.c
diff options
context:
space:
mode:
authorAxel Lin2011-12-22 14:17:22 +0100
committerMark Brown2011-12-22 18:34:34 +0100
commit30e4953011fd7a22044a62b9cf77252493b1bd17 (patch)
treea0bdb7f5769ff00c80d068707590e1aea51e308b /sound/soc/blackfin/bf5xx-ssm2602.c
parentASoC: atmel: Add .owner to struct snd_soc_card (diff)
downloadkernel-qcow2-linux-30e4953011fd7a22044a62b9cf77252493b1bd17.tar.gz
kernel-qcow2-linux-30e4953011fd7a22044a62b9cf77252493b1bd17.tar.xz
kernel-qcow2-linux-30e4953011fd7a22044a62b9cf77252493b1bd17.zip
ASoC: blackfin: 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/blackfin/bf5xx-ssm2602.c')
-rw-r--r--sound/soc/blackfin/bf5xx-ssm2602.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/blackfin/bf5xx-ssm2602.c b/sound/soc/blackfin/bf5xx-ssm2602.c
index 767e772a815d..030303238042 100644
--- a/sound/soc/blackfin/bf5xx-ssm2602.c
+++ b/sound/soc/blackfin/bf5xx-ssm2602.c
@@ -125,6 +125,7 @@ static struct snd_soc_dai_link bf5xx_ssm2602_dai[] = {
static struct snd_soc_card bf5xx_ssm2602 = {
.name = "bfin-ssm2602",
+ .owner = THIS_MODULE,
.dai_link = &bf5xx_ssm2602_dai[CONFIG_SND_BF5XX_SPORT_NUM],
.num_links = 1,
};