sh: intc: remove dependency on NR_IRQS
SH intc has a compile time dependency on NR_IRQS. Make this dependency a local define so that shmobile (and ARM in general) can have run-time NR_IRQS setting. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include <linux/export.h>
|
||||
#include "internals.h"
|
||||
|
||||
static struct intc_map_entry intc_irq_xlate[NR_IRQS];
|
||||
static struct intc_map_entry intc_irq_xlate[INTC_NR_IRQS];
|
||||
|
||||
struct intc_virq_list {
|
||||
unsigned int irq;
|
||||
|
Reference in New Issue
Block a user