From: Paul Walmsley Date: Fri, 5 Sep 2008 07:37:39 +0000 (-0600) Subject: OMAP2xxx EAC: fix sparse warnings X-Git-Tag: v2.6.27-omap1~252 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8512b41108d49d1c66149d051cd6f0d01b8a02fe;p=linux-2.6-omap-h63xx.git OMAP2xxx EAC: fix sparse warnings This patch resolves the following two sparse warnings: sound/arm/omap/eac.c:788:12: warning: symbol 'eac_init' was not declared. Should it be static? sound/arm/omap/eac.c:793:13: warning: symbol 'eac_exit' was not declared. Should it be static? Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- diff --git a/sound/arm/omap/eac.c b/sound/arm/omap/eac.c index 47a95e217f3..667051e6bc9 100644 --- a/sound/arm/omap/eac.c +++ b/sound/arm/omap/eac.c @@ -787,12 +787,12 @@ static struct platform_driver eac_driver = { .remove = eac_remove, }; -int __init eac_init(void) +static int __init eac_init(void) { return platform_driver_register(&eac_driver); } -void __exit eac_exit(void) +static void __exit eac_exit(void) { platform_driver_unregister(&eac_driver); }