aboutsummaryrefslogtreecommitdiff
path: root/common/usb_kbd.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-04-10 19:55:08 -0400
committerTom Rini <trini@konsulko.com>2016-04-10 19:55:08 -0400
commit7e8f270292ebacb25f366181f2022c819e5c7586 (patch)
tree841cf474e29eedf6c173da8d1901d3b24d06ecbd /common/usb_kbd.c
parente16e137c377c8b96d8d91263d0b6d8470169f841 (diff)
parent192eab9357473e09218e0a4448b220d691d9d886 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'common/usb_kbd.c')
-rw-r--r--common/usb_kbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index d84865fbbe..97f79f8eb8 100644
--- a/common/usb_kbd.c
+++ b/common/usb_kbd.c
@@ -566,7 +566,6 @@ int drv_usb_kbd_init(void)
/* No USB Keyboard found */
return -1;
}
-#endif
/* Deregister the keyboard. */
int usb_kbd_deregister(int force)
@@ -599,6 +598,8 @@ int usb_kbd_deregister(int force)
#endif
}
+#endif
+
#ifdef CONFIG_DM_USB
static int usb_kbd_probe(struct udevice *dev)