Skip to content

Commit

Permalink
[ARM] Anubis: Fix sparse warnings for items that should be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ben Dooks authored and Ben Dooks committed Apr 17, 2009
1 parent 59c1ab6 commit 019dbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2440/mach-anubis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 019dbaa

Please sign in to comment.