summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2010-12-02 13:46:00 +0100
committerLinus Walleij <linus.walleij@stericsson.com>2010-12-08 13:14:25 +0100
commita5de3dc240eb4e58f02b199ed529c17b65f9adfb (patch)
treed30f216c494cecd27e4c5111bc1b0c0103f15001 /arch/arm/mach-ux500
parentfcbd458e95316fe5031f1b8eaf5e66ce8f3c3146 (diff)
downloadop-kernel-dev-a5de3dc240eb4e58f02b199ed529c17b65f9adfb.zip
op-kernel-dev-a5de3dc240eb4e58f02b199ed529c17b65f9adfb.tar.gz
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.h3
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 7ee8aaa..4a91bbd 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 \
OpenPOWER on IntegriCloud