* [PATCH 1/4]ARM: NUC900: change condition of IRQ_ADC to NR_IRQS for nuc932
@ 2009-12-02 13:51 Wan ZongShun
0 siblings, 0 replies; only message in thread
From: Wan ZongShun @ 2009-12-02 13:51 UTC (permalink / raw)
To: linux-arm-kernel
Dear Russell,
For applying to nuc932, I modified the 'for' loop condition.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
---
arch/arm/mach-w90x900/irq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-w90x900/irq.c b/arch/arm/mach-w90x900/irq.c
index 5444a27..633ac8b 100644
--- a/arch/arm/mach-w90x900/irq.c
+++ b/arch/arm/mach-w90x900/irq.c
@@ -73,7 +73,7 @@ void __init nuc900_init_irq(void)
__raw_writel(0xFFFFFFFE, REG_AIC_MDCR);
- for (irqno = IRQ_WDT; irqno <= IRQ_ADC; irqno++) {
+ for (irqno = IRQ_WDT; irqno < NR_IRQS; irqno++) {
set_irq_chip(irqno, &nuc900_irq_chip);
set_irq_handler(irqno, handle_level_irq);
set_irq_flags(irqno, IRQF_VALID);
--
1.5.6.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-02 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-02 13:51 [PATCH 1/4]ARM: NUC900: change condition of IRQ_ADC to NR_IRQS for nuc932 Wan ZongShun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).