aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-12-09 12:09:35 +0100
committerWolfgang Denk <wd@denx.de>2011-12-09 12:09:35 +0100
commitc4eba6ec5c58083b38340724c006294c7a4fe2eb (patch)
treeaee4b77c3e2a294e3cd64a20de5a94b151645674 /common
parent3da597dbde3c5853d9cc8af1ba384c0fb79e8140 (diff)
downloadu-boot-c4eba6ec5c58083b38340724c006294c7a4fe2eb.zip
u-boot-c4eba6ec5c58083b38340724c006294c7a4fe2eb.tar.gz
u-boot-c4eba6ec5c58083b38340724c006294c7a4fe2eb.tar.bz2
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>
Diffstat (limited to 'common')
-rw-r--r--common/usb_kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c
index dbdfe0d..69939f0 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