summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/fsi-da7210.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-23 07:53:32 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-23 12:32:07 +0100
commit4a7042e59908231fc046aac88bd98454d886052d (patch)
tree34799035a4288be3c32d4b20328b68cb13ab3d67 /sound/soc/sh/fsi-da7210.c
parentASoC: s6000: Add .owner to struct snd_soc_card (diff)
downloadlinux-4a7042e59908231fc046aac88bd98454d886052d.tar.xz
linux-4a7042e59908231fc046aac88bd98454d886052d.zip
ASoC: sh: Add .owner to struct snd_soc_card
Add missing .owner of struct snd_soc_card. This prevents 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/sh/fsi-da7210.c')
-rw-r--r--sound/soc/sh/fsi-da7210.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sh/fsi-da7210.c b/sound/soc/sh/fsi-da7210.c
index f5586b5b0c3b..1dd3354c7411 100644
--- a/sound/soc/sh/fsi-da7210.c
+++ b/sound/soc/sh/fsi-da7210.c
@@ -44,6 +44,7 @@ static struct snd_soc_dai_link fsi_da7210_dai = {
static struct snd_soc_card fsi_soc_card = {
.name = "FSI-DA7210",
+ .owner = THIS_MODULE,
.dai_link = &fsi_da7210_dai,
.num_links = 1,
};