Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72441
b: refs/heads/master
c: f230d10
h: refs/heads/master
i:
  72439: 9457600
v: v3
  • Loading branch information
Jeff Garzik committed Oct 23, 2007
1 parent d0cb3fa commit 2305022
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 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: 3f2e40df0e1d7694224c3083b0bebd129039a40a
refs/heads/master: f230d1010ad0dcd71d9ca8ea6864afac49c5aa9b
2 changes: 1 addition & 1 deletion trunk/drivers/parport/ieee1284.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ static int parport_ieee1284_ack_data_avail (struct parport *port)
#endif /* IEEE1284 support */

/* Handle an interrupt. */
void parport_ieee1284_interrupt (int which, void *handle)
void parport_ieee1284_interrupt (void *handle)
{
struct parport *port = handle;
parport_ieee1284_wakeup (port);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/parport/parport_mfc3.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ static irqreturn_t mfc3_interrupt(int irq, void *dev_id)
if (this_port[i] != NULL)
if (pia(this_port[i])->crb & 128) { /* Board caused interrupt */
dummy = pia(this_port[i])->pprb; /* clear irq bit */
parport_generic_irq(irq, this_port[i]);
parport_generic_irq(this_port[i]);
}
return IRQ_HANDLED;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/parport/share.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ irqreturn_t parport_irq_handler(int irq, void *dev_id)
{
struct parport *port = dev_id;

parport_generic_irq(irq, port);
parport_generic_irq(port);

return IRQ_HANDLED;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/usb/misc/uss720.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static void async_complete(struct urb *urb)
#endif
/* if nAck interrupts are enabled and we have an interrupt, call the interrupt procedure */
if (rq->reg[2] & rq->reg[1] & 0x10 && pp)
parport_generic_irq(0, pp);
parport_generic_irq(pp);
}
complete(&rq->compl);
kref_put(&rq->ref_count, destroy_async);
Expand Down Expand Up @@ -337,7 +337,7 @@ static int uss720_irq(int usbstatus, void *buffer, int len, void *dev_id)
memcpy(priv->reg, buffer, 4);
/* if nAck interrupts are enabled and we have an interrupt, call the interrupt procedure */
if (priv->reg[2] & priv->reg[1] & 0x10)
parport_generic_irq(0, pp);
parport_generic_irq(pp);
return 1;
}
#endif
Expand Down
8 changes: 4 additions & 4 deletions trunk/include/linux/parport.h
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ static __inline__ int parport_yield_blocking(struct pardevice *dev)
#define PARPORT_FLAG_EXCL (1<<1) /* EXCL driver registered. */

/* IEEE1284 functions */
extern void parport_ieee1284_interrupt (int, void *);
extern void parport_ieee1284_interrupt (void *);
extern int parport_negotiate (struct parport *, int mode);
extern ssize_t parport_write (struct parport *, const void *buf, size_t len);
extern ssize_t parport_read (struct parport *, void *buf, size_t len);
Expand Down Expand Up @@ -518,12 +518,12 @@ extern void parport_daisy_deselect_all (struct parport *port);
extern int parport_daisy_select (struct parport *port, int daisy, int mode);

/* Lowlevel drivers _can_ call this support function to handle irqs. */
static inline void parport_generic_irq(int irq, struct parport *port)
static inline void parport_generic_irq(struct parport *port)
{
parport_ieee1284_interrupt (irq, port);
parport_ieee1284_interrupt (port);
read_lock(&port->cad_lock);
if (port->cad && port->cad->irq_func)
port->cad->irq_func(irq, port->cad->private);
port->cad->irq_func(port->irq, port->cad->private);
read_unlock(&port->cad_lock);
}

Expand Down

0 comments on commit 2305022

Please sign in to comment.