USB: Move USB_PRINTF() out of ifdef in usb_scan_devices()
authorMarek Vasut <marek.vasut@gmail.com>
Tue, 12 Jul 2011 00:16:46 +0000 (02:16 +0200)
committerRemy Bohmer <linux@bohmer.net>
Mon, 8 Aug 2011 20:00:12 +0000 (22:00 +0200)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
common/usb.c

index 6a7df077104681c988595b02bd42bcdc4afd06d3..a401c0919878b5801a947c8992b60ae331e799b0 100644 (file)
@@ -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");
 }