summaryrefslogtreecommitdiff
path: root/sound/soc/atmel/atmel_wm8904.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 13:55:08 +0300
committerMark Brown <broonie@kernel.org>2015-09-14 20:42:10 +0300
commitaab7826f592b4af9a1407cf5b717978dc16cc19a (patch)
treee10c0b854375b1f273ec422ff98e65e2698d6a30 /sound/soc/atmel/atmel_wm8904.c
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
downloadlinux-aab7826f592b4af9a1407cf5b717978dc16cc19a.tar.xz
ASoC: atmel_wm8904: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luis@debethencourt.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel/atmel_wm8904.c')
-rw-r--r--sound/soc/atmel/atmel_wm8904.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel_wm8904.c b/sound/soc/atmel/atmel_wm8904.c
index aa354e1c6ff7..1933bcd46cca 100644
--- a/sound/soc/atmel/atmel_wm8904.c
+++ b/sound/soc/atmel/atmel_wm8904.c
@@ -176,6 +176,7 @@ static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = {
{ .compatible = "atmel,asoc-wm8904", },
{ }
};
+MODULE_DEVICE_TABLE(of, atmel_asoc_wm8904_dt_ids);
#endif
static struct platform_driver atmel_asoc_wm8904_driver = {