Explorar o código

irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ, v2

need to change irq to int too

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Yinghai Lu %!s(int64=17) %!d(string=hai) anos
pai
achega
1f3addcf2d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/pci/htirq.c

+ 1 - 1
drivers/pci/htirq.c

@@ -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);