ARM: orion: use SPARSE_IRQ everywhere
[deliverable/linux.git] / arch / arm / mach-dove / include / mach / pm.h
index b47f750386863a820119eb0d66e0a7da84fc5c99..9834ba10cd13f8877e71edce2d655bfe46955296 100644 (file)
@@ -63,7 +63,7 @@ static inline int pmu_to_irq(int pin)
 
 static inline int irq_to_pmu(int irq)
 {
-       if (IRQ_DOVE_PMU_START <= irq && irq < NR_IRQS)
+       if (IRQ_DOVE_PMU_START <= irq && irq < DOVE_NR_IRQS)
                return irq - IRQ_DOVE_PMU_START;
 
        return -EINVAL;
This page took 0.02412 seconds and 5 git commands to generate.