]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ASoC: ep93xx: Add .owner to struct snd_soc_card
authorAxel Lin <axel.lin@gmail.com>
Thu, 22 Dec 2011 13:21:37 +0000 (21:21 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 22 Dec 2011 17:34:35 +0000 (17:34 +0000)
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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/ep93xx/edb93xx.c
sound/soc/ep93xx/simone.c
sound/soc/ep93xx/snappercl15.c

index 9f6fecdf49e789c77f3e0fcaa4f8fb74a911b3af..bae5cbbbd2b2d28c817c954f25e6dfc08faed22c 100644 (file)
@@ -75,6 +75,7 @@ static struct snd_soc_dai_link edb93xx_dai = {
 
 static struct snd_soc_card snd_soc_edb93xx = {
        .name           = "EDB93XX",
+       .owner          = THIS_MODULE,
        .dai_link       = &edb93xx_dai,
        .num_links      = 1,
 };
index 1e00b33cc50884be16e404e8f37a55c1e0b1b7d3..dd997094eb301f8134b0b11db3a12ac6ed16d782 100644 (file)
@@ -34,6 +34,7 @@ static struct snd_soc_dai_link simone_dai = {
 
 static struct snd_soc_card snd_soc_simone = {
        .name           = "Sim.One",
+       .owner          = THIS_MODULE,
        .dai_link       = &simone_dai,
        .num_links      = 1,
 };
index e97cd5701f5194da2853738035b93057311f37e7..ccae34a3f280dc08d8e33942389f46b27215ec87 100644 (file)
@@ -93,6 +93,7 @@ static struct snd_soc_dai_link snappercl15_dai = {
 
 static struct snd_soc_card snd_soc_snappercl15 = {
        .name           = "Snapper CL15",
+       .owner          = THIS_MODULE,
        .dai_link       = &snappercl15_dai,
        .num_links      = 1,
 };