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

Marek Vasut marek.vasut at gmail.com
Sat Jun 25 18:41:47 CEST 2011


Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
---
 common/usb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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");
 }
 
 
-- 
1.7.5.3



More information about the U-Boot mailing list