aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/keyboard.c')
-rw-r--r--drivers/char/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c
index fc54d234507a..5218d0d0511e 100644
--- a/drivers/char/keyboard.c
+++ b/drivers/char/keyboard.c
@@ -194,7 +194,7 @@ int getkeycode(unsigned int scancode)
194 int error = -ENODEV; 194 int error = -ENODEV;
195 195
196 list_for_each_entry(handle, &kbd_handler.h_list, h_node) { 196 list_for_each_entry(handle, &kbd_handler.h_list, h_node) {
197 error = handle->dev->getkeycode(handle->dev, scancode, &keycode); 197 error = input_get_keycode(handle->dev, scancode, &keycode);
198 if (!error) 198 if (!error)
199 return keycode; 199 return keycode;
200 } 200 }
@@ -208,7 +208,7 @@ int setkeycode(unsigned int scancode, unsigned int keycode)
208 int error = -ENODEV; 208 int error = -ENODEV;
209 209
210 list_for_each_entry(handle, &kbd_handler.h_list, h_node) { 210 list_for_each_entry(handle, &kbd_handler.h_list, h_node) {
211 error = handle->dev->setkeycode(handle->dev, scancode, keycode); 211 error = input_set_keycode(handle->dev, scancode, keycode);
212 if (!error) 212 if (!error)
213 break; 213 break;
214 } 214 }