]> Pileus Git - ~andy/linux/blobdiff - include/asm-arm/mach/arch.h
[ARM] Fix sparse warnings
[~andy/linux] / include / asm-arm / mach / arch.h
index 4fa95084a8c0459f58b87a9e36f75019069fb0c6..7273c6fd95b53d39a3bae2e882c134e789030fcb 100644 (file)
@@ -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                            \