From: Anatolij Gustschin Date: Wed, 26 Mar 2008 16:47:44 +0000 (+0100) Subject: Fix compilation error in cmd_usb.c X-Git-Tag: v1.3.3-rc1~124^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=841e5edd1623f3fecb6bffc5c2f938ed7a947360;p=oweals%2Fu-boot.git Fix compilation error in cmd_usb.c This patch fixes compilation error cmd_usb.c: In function 'do_usb': cmd_usb.c:552: error: void value not ignored as it ought to be Signed-off-by: Anatolij Gustschin Signed-off-by: Markus Klotzbuecher --- diff --git a/include/usb.h b/include/usb.h index 4e1539fa88..5a6ffddec8 100644 --- a/include/usb.h +++ b/include/usb.h @@ -195,7 +195,7 @@ void usb_event_poll(void); #define USB_MAX_STOR_DEV 5 block_dev_desc_t *usb_stor_get_dev(int index); int usb_stor_scan(int mode); -void usb_stor_info(void); +int usb_stor_info(void); #endif