aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-05 10:03:37 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:53:07 +0200
commit1f3addcf2d54394d10713be947eeaf18d2b998a9 (patch)
tree172ca15144e3fd95252c084aa0253cf16fba8f1c
parent21056830c4e5c6735f1d49453398d7186ca4e8d7 (diff)
irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ, v2
need to change irq to int too Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--drivers/pci/htirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/htirq.c b/drivers/pci/htirq.c
index 7b180e0c634..9e4929a0083 100644
--- a/drivers/pci/htirq.c
+++ b/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);