Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42404
b: refs/heads/master
c: 3e022d0
h: refs/heads/master
v: v3
  • Loading branch information
Komuro authored and Dominik Brodowski committed Dec 5, 2006
1 parent 690a089 commit d32924e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ae1cbf17d14ba6fd316a94b290ea4e741cba15c
refs/heads/master: 3e022d0c77e159a59d3ebfc44ad76a05202c2a6b
8 changes: 4 additions & 4 deletions trunk/drivers/pcmcia/pd6729.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,10 +581,10 @@ static irqreturn_t pd6729_test(int irq, void *dev)
return IRQ_HANDLED;
}

static int pd6729_check_irq(int irq, int flags)
static int pd6729_check_irq(int irq)
{
if (request_irq(irq, pd6729_test, flags, "x", pd6729_test) != 0)
return -1;
if (request_irq(irq, pd6729_test, IRQF_PROBE_SHARED, "x", pd6729_test)
!= 0) return -1;
free_irq(irq, pd6729_test);
return 0;
}
Expand All @@ -610,7 +610,7 @@ static u_int __devinit pd6729_isa_scan(void)

/* just find interrupts that aren't in use */
for (i = 0; i < 16; i++)
if ((mask0 & (1 << i)) && (pd6729_check_irq(i, 0) == 0))
if ((mask0 & (1 << i)) && (pd6729_check_irq(i) == 0))
mask |= (1 << i);

printk(KERN_INFO "pd6729: ISA irqs = ");
Expand Down

0 comments on commit d32924e

Please sign in to comment.