[ARM] Anubis: Fix sparse warnings for items that should be static
authorBen Dooks <ben@simtec.co.uk>
Fri, 17 Apr 2009 11:36:46 +0000 (12:36 +0100)
committerBen Dooks <ben-linux@fluff.org>
Fri, 17 Apr 2009 11:42:24 +0000 (12:42 +0100)
Make 'anubis_ide_platdata' statis as it is not used outside
the file it is in, fixing the following sparse warning:

mach-anubis.c:246:27: warning: symbol 'anubis_ide_platdata' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2440/mach-anubis.c

index b05d56e230a1338c2c965499547f8e56247a34ba..9c6abf9fb540b9727aebfa96c84701953e64683c 100644 (file)
@@ -243,7 +243,7 @@ static struct s3c2410_platform_nand anubis_nand_info = {
 
 /* IDE channels */
 
-struct pata_platform_info anubis_ide_platdata = {
+static struct pata_platform_info anubis_ide_platdata = {
        .ioport_shift   = 5,
 };