diff options
Diffstat (limited to 'drivers/input/keyboard/amikbd.c')
-rw-r--r-- | drivers/input/keyboard/amikbd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/input/keyboard/amikbd.c b/drivers/input/keyboard/amikbd.c index f1f9db9d282c..8abdbd0ee8f9 100644 --- a/drivers/input/keyboard/amikbd.c +++ b/drivers/input/keyboard/amikbd.c | |||
@@ -158,7 +158,7 @@ static const char *amikbd_messages[8] = { | |||
158 | 158 | ||
159 | static struct input_dev *amikbd_dev; | 159 | static struct input_dev *amikbd_dev; |
160 | 160 | ||
161 | static irqreturn_t amikbd_interrupt(int irq, void *dummy, struct pt_regs *fp) | 161 | static irqreturn_t amikbd_interrupt(int irq, void *dummy) |
162 | { | 162 | { |
163 | unsigned char scancode, down; | 163 | unsigned char scancode, down; |
164 | 164 | ||
@@ -171,8 +171,6 @@ static irqreturn_t amikbd_interrupt(int irq, void *dummy, struct pt_regs *fp) | |||
171 | scancode >>= 1; | 171 | scancode >>= 1; |
172 | 172 | ||
173 | if (scancode < 0x78) { /* scancodes < 0x78 are keys */ | 173 | if (scancode < 0x78) { /* scancodes < 0x78 are keys */ |
174 | input_regs(amikbd_dev, fp); | ||
175 | |||
176 | if (scancode == 98) { /* CapsLock is a toggle switch key on Amiga */ | 174 | if (scancode == 98) { /* CapsLock is a toggle switch key on Amiga */ |
177 | input_report_key(amikbd_dev, scancode, 1); | 175 | input_report_key(amikbd_dev, scancode, 1); |
178 | input_report_key(amikbd_dev, scancode, 0); | 176 | input_report_key(amikbd_dev, scancode, 0); |