summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap3evm.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-22 11:08:59 +0800
committerLiam Girdwood <lrg@ti.com>2011-12-23 18:13:01 +0000
commitb425b88418e302caf27e9cf44aa987b83c04cb2d (patch)
tree1566618f56953e501b0aa5067510a4ddde63cd45 /sound/soc/omap/omap3evm.c
parentc5cf4dbc7f804bb4ff02a065b927bd8688204253 (diff)
downloadop-kernel-dev-b425b88418e302caf27e9cf44aa987b83c04cb2d.zip
op-kernel-dev-b425b88418e302caf27e9cf44aa987b83c04cb2d.tar.gz
ASoC: omap: 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> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc/omap/omap3evm.c')
-rw-r--r--sound/soc/omap/omap3evm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/omap/omap3evm.c b/sound/soc/omap/omap3evm.c
index 6857895..071fcb0 100644
--- a/sound/soc/omap/omap3evm.c
+++ b/sound/soc/omap/omap3evm.c
@@ -70,6 +70,7 @@ static struct snd_soc_dai_link omap3evm_dai = {
/* Audio machine driver */
static struct snd_soc_card snd_soc_omap3evm = {
.name = "omap3evm",
+ .owner = THIS_MODULE,
.dai_link = &omap3evm_dai,
.num_links = 1,
};
OpenPOWER on IntegriCloud