aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ppdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c
index efe2f5c55b91..3aab837d9480 100644
--- a/drivers/char/ppdev.c
+++ b/drivers/char/ppdev.c
@@ -267,9 +267,9 @@ static ssize_t pp_write (struct file * file, const char __user * buf,
267 return bytes_written; 267 return bytes_written;
268} 268}
269 269
270static void pp_irq (int irq, void * private) 270static void pp_irq (void *private)
271{ 271{
272 struct pp_struct * pp = (struct pp_struct *) private; 272 struct pp_struct *pp = private;
273 273
274 if (pp->irqresponse) { 274 if (pp->irqresponse) {
275 parport_write_control (pp->pdev->port, pp->irqctl); 275 parport_write_control (pp->pdev->port, pp->irqctl);