summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard.c')
-rw-r--r--drivers/input/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/keyboard.c b/drivers/input/keyboard.c
index 512b9f28c..a5fbd5f50 100644
--- a/drivers/input/keyboard.c
+++ b/drivers/input/keyboard.c
@@ -11,7 +11,7 @@
#include <common.h>
-#include <devices.h>
+#include <stdio_dev.h>
#include <keyboard.h>
#undef KBG_DEBUG
@@ -268,7 +268,7 @@ extern int overwrite_console (void);
int kbd_init (void)
{
int error;
- device_t kbddev ;
+ struct stdio_dev kbddev ;
char *stdinname = getenv ("stdin");
if(kbd_init_hw()==-1)
@@ -281,7 +281,7 @@ int kbd_init (void)
kbddev.getc = kbd_getc ;
kbddev.tstc = kbd_testc ;
- error = device_register (&kbddev);
+ error = stdio_register (&kbddev);
if(error==0) {
/* check if this is the standard input device */
if(strcmp(stdinname,DEVNAME)==0) {