Browse Source

ARM: vexpress: remove dependency on mach/* headers

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Pawel Moll <pawel.moll@arm.com>
Arnd Bergmann 13 years ago
parent
commit
db6b672f98
2 changed files with 3 additions and 0 deletions
  1. 1 0
      arch/arm/mach-vexpress/ct-ca9x4.c
  2. 2 0
      arch/arm/mach-vexpress/include/mach/irqs.h

+ 1 - 0
arch/arm/mach-vexpress/ct-ca9x4.c

@@ -27,6 +27,7 @@
 #include "core.h"
 
 #include <mach/motherboard.h>
+#include <mach/irqs.h>
 
 #include <plat/clcd.h>
 

+ 2 - 0
arch/arm/mach-vexpress/include/mach/irqs.h

@@ -1,4 +1,6 @@
 #define IRQ_LOCALTIMER		29
 #define IRQ_LOCALWDOG		30
 
+#ifndef CONFIG_SPARSE_IRQ
 #define NR_IRQS	256
+#endif