diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-03 12:55:08 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-09-14 19:42:10 +0200 |
commit | aab7826f592b4af9a1407cf5b717978dc16cc19a (patch) | |
tree | e10c0b854375b1f273ec422ff98e65e2698d6a30 /sound/soc/atmel | |
parent | Linux 4.3-rc1 (diff) | |
download | linux-aab7826f592b4af9a1407cf5b717978dc16cc19a.tar.xz linux-aab7826f592b4af9a1407cf5b717978dc16cc19a.zip |
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')
-rw-r--r-- | sound/soc/atmel/atmel_wm8904.c | 1 |
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 = { |