aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/rx51.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-21 22:08:59 -0500
committerLiam Girdwood <lrg@ti.com>2011-12-23 13:13:01 -0500
commitb425b88418e302caf27e9cf44aa987b83c04cb2d (patch)
tree1566618f56953e501b0aa5067510a4ddde63cd45 /sound/soc/omap/rx51.c
parentc5cf4dbc7f804bb4ff02a065b927bd8688204253 (diff)
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/rx51.c')
-rw-r--r--sound/soc/omap/rx51.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c
index ad16db536320..fada6ef43eea 100644
--- a/sound/soc/omap/rx51.c
+++ b/sound/soc/omap/rx51.c
@@ -383,6 +383,7 @@ static struct snd_soc_codec_conf rx51_codec_conf[] = {
383/* Audio card */ 383/* Audio card */
384static struct snd_soc_card rx51_sound_card = { 384static struct snd_soc_card rx51_sound_card = {
385 .name = "RX-51", 385 .name = "RX-51",
386 .owner = THIS_MODULE,
386 .dai_link = rx51_dai, 387 .dai_link = rx51_dai,
387 .num_links = ARRAY_SIZE(rx51_dai), 388 .num_links = ARRAY_SIZE(rx51_dai),
388 .aux_dev = rx51_aux_dev, 389 .aux_dev = rx51_aux_dev,