diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-05 19:32:01 -0400 |
commit | 44aefd2706bb6f5b65ba2c38cd89e7609e2b43d3 (patch) | |
tree | 93824f573767da634fbc82c388b6d33cc454212b /drivers/input/serio/q40kbd.c | |
parent | c1a26e7d40fb814716950122353a1a556844286b (diff) | |
parent | 7d12e780e003f93433d49ce78cfedf4b4c52adc5 (diff) |
Merge git://git.infradead.org/~dhowells/irq-2.6
* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type
Diffstat (limited to 'drivers/input/serio/q40kbd.c')
-rw-r--r-- | drivers/input/serio/q40kbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c index d3827c5fe119..cb89aff2e160 100644 --- a/drivers/input/serio/q40kbd.c +++ b/drivers/input/serio/q40kbd.c | |||
@@ -53,14 +53,14 @@ DEFINE_SPINLOCK(q40kbd_lock); | |||
53 | static struct serio *q40kbd_port; | 53 | static struct serio *q40kbd_port; |
54 | static struct platform_device *q40kbd_device; | 54 | static struct platform_device *q40kbd_device; |
55 | 55 | ||
56 | static irqreturn_t q40kbd_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 56 | static irqreturn_t q40kbd_interrupt(int irq, void *dev_id) |
57 | { | 57 | { |
58 | unsigned long flags; | 58 | unsigned long flags; |
59 | 59 | ||
60 | spin_lock_irqsave(&q40kbd_lock, flags); | 60 | spin_lock_irqsave(&q40kbd_lock, flags); |
61 | 61 | ||
62 | if (Q40_IRQ_KEYB_MASK & master_inb(INTERRUPT_REG)) | 62 | if (Q40_IRQ_KEYB_MASK & master_inb(INTERRUPT_REG)) |
63 | serio_interrupt(q40kbd_port, master_inb(KEYCODE_REG), 0, regs); | 63 | serio_interrupt(q40kbd_port, master_inb(KEYCODE_REG), 0); |
64 | 64 | ||
65 | master_outb(-1, KEYBOARD_UNLOCK_REG); | 65 | master_outb(-1, KEYBOARD_UNLOCK_REG); |
66 | 66 | ||