Commit aab7826f authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by Mark Brown

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: default avatarLuis de Bethencourt <luis@debethencourt.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6ff33f39
...@@ -176,6 +176,7 @@ static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = { ...@@ -176,6 +176,7 @@ static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = {
{ .compatible = "atmel,asoc-wm8904", }, { .compatible = "atmel,asoc-wm8904", },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, atmel_asoc_wm8904_dt_ids);
#endif #endif
static struct platform_driver atmel_asoc_wm8904_driver = { static struct platform_driver atmel_asoc_wm8904_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment