summaryrefslogtreecommitdiff
path: root/sound/soc/s6000/s6105-ipcam.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-23 14:52:22 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-23 11:32:00 +0000
commit23bd1ce48f0b2721f0f37087d8acd9fe57f895d7 (patch)
tree4118dccedebb12e29f0b57cb9f32528d8b45d7cf /sound/soc/s6000/s6105-ipcam.c
parentb5a67048d012cc69618140ce31316eedc9c57e8c (diff)
ASoC: s6000: 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> Acked-by: Daniel Glöckner <dg@emlix.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s6000/s6105-ipcam.c')
-rw-r--r--sound/soc/s6000/s6105-ipcam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/s6000/s6105-ipcam.c b/sound/soc/s6000/s6105-ipcam.c
index 5890e431852f..58cfb1eb7dd3 100644
--- a/sound/soc/s6000/s6105-ipcam.c
+++ b/sound/soc/s6000/s6105-ipcam.c
@@ -187,6 +187,7 @@ static struct snd_soc_dai_link s6105_dai = {
/* s6105 audio machine driver */
static struct snd_soc_card snd_soc_card_s6105 = {
.name = "Stretch IP Camera",
+ .owner = THIS_MODULE,
.dai_link = &s6105_dai,
.num_links = 1,
};