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:
Bartosz Golaszewski
2019-02-14 15:52:02 +01:00
committed by Sekhar Nori
parent a98ca73ee3
commit e87addec38
8 changed files with 9 additions and 2 deletions

View File

@@ -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);