diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-22 17:21:37 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-22 21:34:35 +0400 |
commit | a76a70232914902e47d289b6d3853ac850097573 (patch) | |
tree | b5e65ff7b639ee927751f84f246190b2e015481d /sound/soc/ep93xx/simone.c | |
parent | 36a16d1ae0735bd95ab86fdf5983ddbaa20c648d (diff) | |
download | linux-a76a70232914902e47d289b6d3853ac850097573.tar.xz |
ASoC: ep93xx: 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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/ep93xx/simone.c')
-rw-r--r-- | sound/soc/ep93xx/simone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/ep93xx/simone.c b/sound/soc/ep93xx/simone.c index 1e00b33cc508..dd997094eb30 100644 --- a/sound/soc/ep93xx/simone.c +++ b/sound/soc/ep93xx/simone.c @@ -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, }; |