irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ, v2
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 5 Sep 2008 17:03:37 +0000 (10:03 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:07 +0000 (16:53 +0200)
need to change irq to int too

Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/pci/htirq.c

index 7b180e0c634e475542279cba013ae0b837a941f8..9e4929a008325a13a05fafd6a3790c9f06580b25 100644 (file)
@@ -109,7 +109,7 @@ int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update)
        u32 data;
        int max_irq;
        int pos;
-       unsigned int irq;
+       int irq;
        unsigned int irq_want;
 
        pos = pci_find_ht_capability(dev, HT_CAPTYPE_IRQ);