浏览代码

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>
Wolfgang Denk 13 年之前
父节点
当前提交
c4eba6ec5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/usb_kbd.c

+ 1 - 1
common/usb_kbd.c

@@ -133,7 +133,7 @@ static int usb_kbd_testc(void)
 static int usb_kbd_getc(void)
 static int usb_kbd_getc(void)
 {
 {
 	char c;
 	char c;
-	while (usb_in_pointer == usb_out_pointer)
+	while (usb_in_pointer == usb_out_pointer) {
 #ifdef CONFIG_SYS_USB_EVENT_POLL
 #ifdef CONFIG_SYS_USB_EVENT_POLL
 		usb_event_poll();
 		usb_event_poll();
 #endif
 #endif