aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-s3c2410/entry-macro.S
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2006-12-27 22:56:44 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-12-30 17:05:07 +0000
commit431d2cd99f9721ad09f859dc65895f30385cc5c6 (patch)
tree435519efb5f8633243decae79095e56ba4ec36bb /include/asm-arm/arch-s3c2410/entry-macro.S
parent[ARM] 4071/1: S3C24XX: Documentation update (diff)
downloadlinux-dev-431d2cd99f9721ad09f859dc65895f30385cc5c6.tar.xz
linux-dev-431d2cd99f9721ad09f859dc65895f30385cc5c6.zip
[ARM] 4073/1: Prevent s3c24xx drivers from including asm/arch/hardware.h and asm/arch/irqs.h
As reminded in http://lkml.org/lkml/2006/12/23/26, one should use asm/hardware.h and asm/irq.h but absent-minded devs like me tends to use asm/arch/hardware.h and/or asm/arch/irqs.h. This patch aims at preventing such things. In order to make it work, I had to modify asm-arm/irq.h too so that it can be included from assembly files. Also, as a side effect, I had to modify some headers who were using the asm/arch/hardware.h or asm/arch/irqs.h. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-s3c2410/entry-macro.S')
-rw-r--r--include/asm-arm/arch-s3c2410/entry-macro.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-s3c2410/entry-macro.S b/include/asm-arm/arch-s3c2410/entry-macro.S
index e09a6b8ec153..1eb4e6b8d249 100644
--- a/include/asm-arm/arch-s3c2410/entry-macro.S
+++ b/include/asm-arm/arch-s3c2410/entry-macro.S
@@ -20,7 +20,7 @@
#define INTOFFSET (0x14)
#include <asm/hardware.h>
-#include <asm/arch/irqs.h>
+#include <asm/irq.h>
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp