]> err.no Git - linux-2.6/commitdiff
[ARM] Fix missing compiler.h include
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 15 Jan 2006 17:03:45 +0000 (17:03 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 15 Jan 2006 17:03:45 +0000 (17:03 +0000)
asm/mach/arch.h introduced a __deprecated, but didn't include compiler.h,
causing:

In file included from arch/arm/mach-at91rm9200/devices.c:13:
include/asm/mach/arch.h:23: warning: no semicolon at end of struct or union
include/asm/mach/arch.h:23: error: syntax error before 'phys_ram'
include/asm/mach/arch.h:34: error: syntax error before ':' token
include/asm/mach/arch.h:35: error: syntax error before ':' token
include/asm/mach/arch.h:36: error: syntax error before ':' token
include/asm/mach/arch.h:37: error: syntax error before ':' token
include/asm/mach/arch.h:45: error: syntax error before '}' token

Add the necessary include.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/mach/arch.h

index 8222bf9fc366087ec60976f7b54a294d3f6cc7f8..2cd57b4d64d9f4d0a70f340d1110bc03439a6426 100644 (file)
@@ -10,6 +10,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <linux/compiler.h>
+
 struct tag;
 struct meminfo;
 struct sys_timer;