diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-12-23 14:54:30 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-23 11:32:08 +0000 |
commit | e181d14ac3f304086e41f8e6601f0bd3c75570b2 (patch) | |
tree | 99ff7880c8bc939f353d3d78f5fe97fe50d75b9b | |
parent | 4a7042e59908231fc046aac88bd98454d886052d (diff) | |
download | linux-e181d14ac3f304086e41f8e6601f0bd3c75570b2.tar.gz linux-e181d14ac3f304086e41f8e6601f0bd3c75570b2.tar.bz2 linux-e181d14ac3f304086e41f8e6601f0bd3c75570b2.zip |
ASoC: txx9: 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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/txx9/txx9aclc-generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/txx9/txx9aclc-generic.c b/sound/soc/txx9/txx9aclc-generic.c index 9b5e283af51c..b056a1431ed4 100644 --- a/sound/soc/txx9/txx9aclc-generic.c +++ b/sound/soc/txx9/txx9aclc-generic.c @@ -32,6 +32,7 @@ static struct snd_soc_dai_link txx9aclc_generic_dai = { static struct snd_soc_card txx9aclc_generic_card = { .name = "Generic TXx9 ACLC Audio", + .owner = THIS_MODULE, .dai_link = &txx9aclc_generic_dai, .num_links = 1, }; |