diff options
Diffstat (limited to 'drivers/input/serio/sa1111ps2.c')
-rw-r--r-- | drivers/input/serio/sa1111ps2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/serio/sa1111ps2.c b/drivers/input/serio/sa1111ps2.c index ebd9976fc811..559508795af1 100644 --- a/drivers/input/serio/sa1111ps2.c +++ b/drivers/input/serio/sa1111ps2.c | |||
@@ -40,7 +40,7 @@ struct ps2if { | |||
40 | * at the most one, but we loop for safety. If there was a | 40 | * at the most one, but we loop for safety. If there was a |
41 | * framing error, we have to manually clear the status. | 41 | * framing error, we have to manually clear the status. |
42 | */ | 42 | */ |
43 | static irqreturn_t ps2_rxint(int irq, void *dev_id, struct pt_regs *regs) | 43 | static irqreturn_t ps2_rxint(int irq, void *dev_id) |
44 | { | 44 | { |
45 | struct ps2if *ps2if = dev_id; | 45 | struct ps2if *ps2if = dev_id; |
46 | unsigned int scancode, flag, status; | 46 | unsigned int scancode, flag, status; |
@@ -58,7 +58,7 @@ static irqreturn_t ps2_rxint(int irq, void *dev_id, struct pt_regs *regs) | |||
58 | if (hweight8(scancode) & 1) | 58 | if (hweight8(scancode) & 1) |
59 | flag ^= SERIO_PARITY; | 59 | flag ^= SERIO_PARITY; |
60 | 60 | ||
61 | serio_interrupt(ps2if->io, scancode, flag, regs); | 61 | serio_interrupt(ps2if->io, scancode, flag); |
62 | 62 | ||
63 | status = sa1111_readl(ps2if->base + SA1111_PS2STAT); | 63 | status = sa1111_readl(ps2if->base + SA1111_PS2STAT); |
64 | } | 64 | } |
@@ -69,7 +69,7 @@ static irqreturn_t ps2_rxint(int irq, void *dev_id, struct pt_regs *regs) | |||
69 | /* | 69 | /* |
70 | * Completion of ps2 write | 70 | * Completion of ps2 write |
71 | */ | 71 | */ |
72 | static irqreturn_t ps2_txint(int irq, void *dev_id, struct pt_regs *regs) | 72 | static irqreturn_t ps2_txint(int irq, void *dev_id) |
73 | { | 73 | { |
74 | struct ps2if *ps2if = dev_id; | 74 | struct ps2if *ps2if = dev_id; |
75 | unsigned int status; | 75 | unsigned int status; |