diff mbox

[U-Boot] USB: Move USB_PRINTF() out of ifdef in usb_scan_devices()

Message ID 1309020107-14444-1-git-send-email-marek.vasut@gmail.com
State Accepted
Commit 2a94dda0e7c95de19356b78ad59808ee1e67ae27
Headers show

Commit Message

Marek Vasut June 25, 2011, 4:41 p.m. UTC
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
 common/usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/common/usb.c b/common/usb.c
index 4f7c520..8e84266 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -957,8 +957,8 @@  void usb_scan_devices(void)
 	/* insert "driver" if possible */
 #ifdef CONFIG_USB_KEYBOARD
 	drv_usb_kbd_init();
-	USB_PRINTF("scan end\n");
 #endif
+	USB_PRINTF("scan end\n");
 }