mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
[ARM] mmp2: add support for board IRQs
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
0913b86ff7
commit
ce0ac42359
1 changed files with 5 additions and 1 deletions
|
@ -222,6 +222,10 @@
|
|||
#define IRQ_GPIO_NUM 192
|
||||
#define IRQ_GPIO(x) (IRQ_GPIO_START + (x))
|
||||
|
||||
#define NR_IRQS (IRQ_GPIO_START + IRQ_GPIO_NUM)
|
||||
/* Board IRQ - 64 by default, increase if not enough */
|
||||
#define IRQ_BOARD_START (IRQ_GPIO_START + IRQ_GPIO_NUM)
|
||||
#define IRQ_BOARD_END (IRQ_BOARD_START + 64)
|
||||
|
||||
#define NR_IRQS (IRQ_BOARD_END)
|
||||
|
||||
#endif /* __ASM_MACH_IRQS_H */
|
||||
|
|
Loading…
Reference in a new issue