ARM: davinci: select SPARSE_IRQ
Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
committed by
Sekhar Nori
parent
a98ca73ee3
commit
e87addec38
@@ -17,7 +17,9 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/reboot.h>
|
||||
|
||||
#define DAVINCI_INTC_START 0
|
||||
#include <asm/irq.h>
|
||||
|
||||
#define DAVINCI_INTC_START NR_IRQS
|
||||
#define DAVINCI_INTC_IRQ(_irqnum) (DAVINCI_INTC_START + (_irqnum))
|
||||
|
||||
void davinci_timer_init(struct clk *clk);
|
||||
|
||||
Reference in New Issue
Block a user