aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/intc/balancing.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-17 14:10:25 -0500
committerRob Herring <rob.herring@calxeda.com>2012-01-25 21:37:48 -0500
commit0f55239348aa85021d8bf8b63d84a796fcc142a4 (patch)
tree264dab6d2ffc1d05a634a384be6cd91379d32637 /drivers/sh/intc/balancing.c
parent7f1e76370b717be264f0af54719182a96fb8f36d (diff)
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>
Diffstat (limited to 'drivers/sh/intc/balancing.c')
-rw-r--r--drivers/sh/intc/balancing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/balancing.c b/drivers/sh/intc/balancing.c
index cec7a96f2c09..bc780807ccb0 100644
--- a/drivers/sh/intc/balancing.c
+++ b/drivers/sh/intc/balancing.c
@@ -9,7 +9,7 @@
9 */ 9 */
10#include "internals.h" 10#include "internals.h"
11 11
12static unsigned long dist_handle[NR_IRQS]; 12static unsigned long dist_handle[INTC_NR_IRQS];
13 13
14void intc_balancing_enable(unsigned int irq) 14void intc_balancing_enable(unsigned int irq)
15{ 15{