summaryrefslogtreecommitdiffstats
path: root/sound/soc/imx/eukrea-tlv320.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-23 14:47:08 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-23 11:16:43 +0000
commit6aff8ccb0cdd14be2acaa7cf397842005752b0f3 (patch)
tree5f4e05f3a0e44e495ca9268dd4697a03bcc87f5a /sound/soc/imx/eukrea-tlv320.c
parent662d4e5c247e9feb2814d9eafc160f42d9035978 (diff)
downloadblackbird-obmc-linux-6aff8ccb0cdd14be2acaa7cf397842005752b0f3.tar.gz
blackbird-obmc-linux-6aff8ccb0cdd14be2acaa7cf397842005752b0f3.zip
ASoC: imx: 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: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/imx/eukrea-tlv320.c')
-rw-r--r--sound/soc/imx/eukrea-tlv320.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/imx/eukrea-tlv320.c b/sound/soc/imx/eukrea-tlv320.c
index 75fb4b83548b..1c1fdd10f73f 100644
--- a/sound/soc/imx/eukrea-tlv320.c
+++ b/sound/soc/imx/eukrea-tlv320.c
@@ -87,6 +87,7 @@ static struct snd_soc_dai_link eukrea_tlv320_dai = {
static struct snd_soc_card eukrea_tlv320 = {
.name = "cpuimx-audio",
+ .owner = THIS_MODULE,
.dai_link = &eukrea_tlv320_dai,
.num_links = 1,
};
OpenPOWER on IntegriCloud