OMAP2xxx EAC: fix sparse warnings
authorPaul Walmsley <paul@pwsan.com>
Fri, 5 Sep 2008 07:37:39 +0000 (01:37 -0600)
committerTony Lindgren <tony@atomide.com>
Fri, 5 Sep 2008 18:28:34 +0000 (11:28 -0700)
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 <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
sound/arm/omap/eac.c

index 47a95e2..667051e 100644 (file)
@@ -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);
 }