Browse Source

mach-ux500: AB8500 irqs is taken from header file

This patch removes the dublicated define for number of
interrupts and instead include the needed header file.

Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Mattias Wallin 14 years ago
parent
commit
a5de3dc240
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/arm/mach-ux500/include/mach/irqs-board-mop500.h

+ 2 - 1
arch/arm/mach-ux500/include/mach/irqs-board-mop500.h

@@ -8,7 +8,8 @@
 #ifndef __MACH_IRQS_BOARD_MOP500_H
 #define __MACH_IRQS_BOARD_MOP500_H
 
-#define AB8500_NR_IRQS			104
+/* Number of AB8500 irqs is taken from header file */
+#include <linux/mfd/ab8500.h>
 
 #define MOP500_AB8500_IRQ_BASE		IRQ_BOARD_START
 #define MOP500_AB8500_IRQ_END		(MOP500_AB8500_IRQ_BASE \