summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-04-17 12:36:46 +0100
committerBen Dooks <ben-linux@fluff.org>2009-04-17 12:42:24 +0100
commit019dbaa11db56d8e5d868e02421ff236a054c0d8 (patch)
tree6c825bea9b6e28b6f996d8a038a26d515f7e5bfd /arch
parent59c1ab60909ffacbf978ac72e4bb1d40d79f1465 (diff)
downloadlinux-3.10-019dbaa11db56d8e5d868e02421ff236a054c0d8.tar.gz
linux-3.10-019dbaa11db56d8e5d868e02421ff236a054c0d8.tar.bz2
linux-3.10-019dbaa11db56d8e5d868e02421ff236a054c0d8.zip
[ARM] Anubis: Fix sparse warnings for items that should be static
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s3c2440/mach-anubis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2440/mach-anubis.c b/arch/arm/mach-s3c2440/mach-anubis.c
index b05d56e230a..9c6abf9fb54 100644
--- a/arch/arm/mach-s3c2440/mach-anubis.c
+++ b/arch/arm/mach-s3c2440/mach-anubis.c
@@ -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,
};