Skip to content

Commit

Permalink
[ARM] Fix missing compiler.h include
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed Jan 15, 2006
1 parent caf5b04 commit ef0498a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-arm/mach/arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

#ifndef __ASSEMBLY__

#include <linux/compiler.h>

struct tag;
struct meminfo;
struct sys_timer;
Expand Down

0 comments on commit ef0498a

Please sign in to comment.