1
0
Fork 0

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 <wd@denx.de>
utp
Wolfgang Denk 2011-12-09 12:09:35 +01:00
parent 3da597dbde
commit c4eba6ec5c
1 changed files with 1 additions and 1 deletions

View 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