diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-08-23 13:35:17 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-23 14:04:20 -0400 |
commit | c445be35956b0cefe85db75d1e7994af5cecf16a (patch) | |
tree | 31034f4bd45f5162869369d16c8036c956002186 /sound/soc/generic | |
parent | 2820f6158faec223cb426c8603fe589582e6903d (diff) |
ASoC: simple-card: Provide owner and MODULE_ALIAS()
Add .owner field and also MODULE_ALIAS(), so that auto module loading can work.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r-- | sound/soc/generic/simple-card.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 6cf8355a8542..8c49147db84c 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c | |||
@@ -105,6 +105,7 @@ static int asoc_simple_card_remove(struct platform_device *pdev) | |||
105 | static struct platform_driver asoc_simple_card = { | 105 | static struct platform_driver asoc_simple_card = { |
106 | .driver = { | 106 | .driver = { |
107 | .name = "asoc-simple-card", | 107 | .name = "asoc-simple-card", |
108 | .owner = THIS_MODULE, | ||
108 | }, | 109 | }, |
109 | .probe = asoc_simple_card_probe, | 110 | .probe = asoc_simple_card_probe, |
110 | .remove = asoc_simple_card_remove, | 111 | .remove = asoc_simple_card_remove, |
@@ -112,6 +113,7 @@ static struct platform_driver asoc_simple_card = { | |||
112 | 113 | ||
113 | module_platform_driver(asoc_simple_card); | 114 | module_platform_driver(asoc_simple_card); |
114 | 115 | ||
116 | MODULE_ALIAS("platform:asoc-simple-card"); | ||
115 | MODULE_LICENSE("GPL"); | 117 | MODULE_LICENSE("GPL"); |
116 | MODULE_DESCRIPTION("ASoC Simple Sound Card"); | 118 | MODULE_DESCRIPTION("ASoC Simple Sound Card"); |
117 | MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>"); | 119 | MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>"); |