From: Luis de Bethencourt Date: Thu, 3 Sep 2015 10:55:08 +0000 (+0200) Subject: ASoC: atmel_wm8904: Fix module autoload for OF platform driver X-Git-Tag: KARO-TX6UL-2015-11-03~79^2~8^2~5^5~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aab7826f592b4af9a1407cf5b717978dc16cc19a;p=karo-tx-linux.git 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 Signed-off-by: Mark Brown --- 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 = {