projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c1ab6
)
[ARM] Anubis: Fix sparse warnings for items that should be static
author
Ben Dooks
<ben@simtec.co.uk>
Fri, 17 Apr 2009 11:36:46 +0000
(12:36 +0100)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/arch/arm/mach-s3c2440/mach-anubis.c
b/arch/arm/mach-s3c2440/mach-anubis.c
index
b05d56e
..
9c6abf9
100644
(file)
--- 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 = {
+st
atic st
ruct pata_platform_info anubis_ide_platdata = {
.ioport_shift = 5,
};