]> git.sur5r.net Git - u-boot/blobdiff - common/usb_kbd.c
fdt_support: fdt_translate_address() blob const correctness
[u-boot] / common / usb_kbd.c
index d84865fbbe26bb337d9453a86c03d8dbb06ae43d..97f79f8eb8c10a966b9b267d9f964ebff60102fd 100644 (file)
@@ -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)