From: Wolfgang Denk Date: Fri, 9 Dec 2011 11:09:35 +0000 (+0100) Subject: common/usb_kbd.c: fix bug introduced in commit 00b7d6e X-Git-Tag: v2011.12-rc1~32 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c4eba6ec5c58083b38340724c006294c7a4fe2eb;p=oweals%2Fu-boot.git common/usb_kbd.c: fix bug introduced in commit 00b7d6e 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 --- diff --git a/common/usb_kbd.c b/common/usb_kbd.c index dbdfe0d6e1..69939f06ac 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -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