]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/irq/manage.c
irq: replace loop with nr_irqs with for_each_irq_desc
[linux-2.6-omap-h63xx.git] / kernel / irq / manage.c
index b5943e9f95aa74a1a0cbd772f9e5ce5ded5245d7..5070f55fdc16182fb42e069be0b4cd290ed01e82 100644 (file)
@@ -478,7 +478,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
        spin_unlock_irqrestore(&desc->lock, flags);
 
        new->irq = irq;
-       register_irq_proc(irq);
+       register_irq_proc(irq, desc);
        new->dir = NULL;
        register_handler_proc(irq, new);