]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common/usb_kbd.c: fix bug introduced in commit 00b7d6e
authorWolfgang Denk <wd@denx.de>
Fri, 9 Dec 2011 11:09:35 +0000 (12:09 +0100)
committerWolfgang Denk <wd@denx.de>
Fri, 9 Dec 2011 11:09:35 +0000 (12:09 +0100)
During the rebase of commit 00b7d6e "USB: Squash checkpatch warnings
in usb_kbd.c" I missed a brace, resulting in a number of build errors.
Fix these.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/usb_kbd.c

index dbdfe0d6e17e532aed1dae9774f2ff4e13ca70c3..69939f06ac83e10c2f07d30cbcde1fa1bcd9e98e 100644 (file)
@@ -133,7 +133,7 @@ static int usb_kbd_testc(void)
 static int usb_kbd_getc(void)
 {
        char c;
-       while (usb_in_pointer == usb_out_pointer)
+       while (usb_in_pointer == usb_out_pointer) {
 #ifdef CONFIG_SYS_USB_EVENT_POLL
                usb_event_poll();
 #endif