diff options
author | Mattias Wallin | 2010-12-02 13:46:00 +0100 |
---|---|---|
committer | Linus Walleij | 2010-12-08 13:14:25 +0100 |
commit | a5de3dc240eb4e58f02b199ed529c17b65f9adfb (patch) | |
tree | d30f216c494cecd27e4c5111bc1b0c0103f15001 /arch/arm/mach-ux500 | |
parent | fcbd458e95316fe5031f1b8eaf5e66ce8f3c3146 (diff) |
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>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/irqs-board-mop500.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h b/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h index 7ee8aaae66a4..4a91bbdb973e 100644 --- a/arch/arm/mach-ux500/include/mach/irqs-board-mop500.h +++ b/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 \ |