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~126 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e813eae3bfeba9c0bda9d1bf9fc3d081f790972f;p=u-boot 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 --- 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