[alsa-devel] [PATCH, RESEND] ALSA: ASoC: au1x: fix ac97c module build

Manuel Lauss manuel.lauss at gmail.com
Wed Jul 17 21:49:27 CEST 2013


The recent conversion to module_platform_driver left a stray
ampersand in there, preventing a build.

Cc: Mark Brown <broonie at linaro.org>
Signed-off-by: Manuel Lauss <manuel.lauss at gmail.com>
---
Against 3.11-rc1, added Mark to Cc.

 sound/soc/au1x/ac97c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/au1x/ac97c.c b/sound/soc/au1x/ac97c.c
index d6f7694..c8a2de1 100644
--- a/sound/soc/au1x/ac97c.c
+++ b/sound/soc/au1x/ac97c.c
@@ -341,7 +341,7 @@ static struct platform_driver au1xac97c_driver = {
 	.remove		= au1xac97c_drvremove,
 };
 
-module_platform_driver(&au1xac97c_driver);
+module_platform_driver(au1xac97c_driver);
 
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Au1000/1500/1100 AC97C ASoC driver");
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe alsa-devel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Alsa-devel mailing list