aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-07-02 05:25:37 -0400
committerMark Brown <broonie@linaro.org>2013-07-15 06:12:24 -0400
commite7c8c589bb640a86685ee040e683b1ec93339f13 (patch)
treeebd1e3e1a4cdb6a8c94942b73fc836ce57150046
parentad81f0545ef01ea651886dddac4bef6cec930092 (diff)
ASoC: mop500: 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. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--sound/soc/ux500/mop500.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index 8f5cd00a6e46..178d1bad6259 100644
--- a/sound/soc/ux500/mop500.c
+++ b/sound/soc/ux500/mop500.c
@@ -52,6 +52,7 @@ static struct snd_soc_dai_link mop500_dai_links[] = {
52 52
53static struct snd_soc_card mop500_card = { 53static struct snd_soc_card mop500_card = {
54 .name = "MOP500-card", 54 .name = "MOP500-card",
55 .owner = THIS_MODULE,
55 .probe = NULL, 56 .probe = NULL,
56 .dai_link = mop500_dai_links, 57 .dai_link = mop500_dai_links,
57 .num_links = ARRAY_SIZE(mop500_dai_links), 58 .num_links = ARRAY_SIZE(mop500_dai_links),