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:
@@ -13,7 +13,7 @@
|
||||
#include <linux/spinlock.h>
|
||||
#include "internals.h"
|
||||
|
||||
static unsigned long ack_handle[NR_IRQS];
|
||||
static unsigned long ack_handle[INTC_NR_IRQS];
|
||||
|
||||
static intc_enum __init intc_grp_id(struct intc_desc *desc,
|
||||
intc_enum enum_id)
|
||||
|
Reference in New Issue
Block a user