sh: intc: remove dependency on NR_IRQS
authorRob Herring <rob.herring@calxeda.com>
Tue, 17 Jan 2012 19:10:25 +0000 (13:10 -0600)
committerRob Herring <rob.herring@calxeda.com>
Thu, 26 Jan 2012 02:37:48 +0000 (20:37 -0600)
commit0f55239348aa85021d8bf8b63d84a796fcc142a4
tree264dab6d2ffc1d05a634a384be6cd91379d32637
parent7f1e76370b717be264f0af54719182a96fb8f36d
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>
drivers/sh/intc/balancing.c
drivers/sh/intc/core.c
drivers/sh/intc/handle.c
drivers/sh/intc/virq.c
include/linux/sh_intc.h