Skip to content

Commit

Permalink
mach-ux500: AB8500 irqs is taken from header file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mattias Wallin authored and Linus Walleij committed Dec 8, 2010
1 parent fcbd458 commit a5de3dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/mach-ux500/include/mach/irqs-board-mop500.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit a5de3dc

Please sign in to comment.