diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-01-17 20:10:25 +0100 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-01-26 03:37:48 +0100 |
commit | 0f55239348aa85021d8bf8b63d84a796fcc142a4 (patch) | |
tree | 264dab6d2ffc1d05a634a384be6cd91379d32637 /drivers/sh/intc/virq.c | |
parent | sh: intc: unify evt2irq/irq2evt macros for sh and arm (diff) | |
download | linux-0f55239348aa85021d8bf8b63d84a796fcc142a4.tar.xz linux-0f55239348aa85021d8bf8b63d84a796fcc142a4.zip |
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/virq.c')
-rw-r--r-- | drivers/sh/intc/virq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/virq.c b/drivers/sh/intc/virq.c index c7ec49ffd9f6..93cec21e788b 100644 --- a/drivers/sh/intc/virq.c +++ b/drivers/sh/intc/virq.c @@ -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; |