aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/mach/arch.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-10-28 14:29:43 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-28 14:29:43 +0100
commitf339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c (patch)
treec17ec50ffe9544c8c67a6532644bb0a1cedc53b7 /include/asm-arm/mach/arch.h
parent[ARM] 3/4: Remove asm/hardware.h from SA1100 io.h (diff)
downloadlinux-dev-f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c.tar.xz
linux-dev-f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c.zip
[ARM] Fix sparse warnings
Fix sparse warnings in arch/arm/kernel/module.c, arch/arm/mm/consistent.c, drivers/pcmcia/sa1111_generic.c, and platform support files. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/mach/arch.h')
-rw-r--r--include/asm-arm/mach/arch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-arm/mach/arch.h b/include/asm-arm/mach/arch.h
index 4fa95084a8c0..7273c6fd95b5 100644
--- a/include/asm-arm/mach/arch.h
+++ b/include/asm-arm/mach/arch.h
@@ -48,10 +48,10 @@ struct machine_desc {
* Set of macros to define architecture features. This is built into
* a table by the linker.
*/
-#define MACHINE_START(_type,_name) \
-const struct machine_desc __mach_desc_##_type \
+#define MACHINE_START(_type,_name) \
+static const struct machine_desc __mach_desc_##_type \
__attribute__((__section__(".arch.info.init"))) = { \
- .nr = MACH_TYPE_##_type, \
+ .nr = MACH_TYPE_##_type, \
.name = _name,
#define MACHINE_END \