]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix compilation error in cmd_usb.c
authorAnatolij Gustschin <agust@denx.de>
Wed, 26 Mar 2008 16:47:44 +0000 (17:47 +0100)
committerMarkus Klotzbuecher <mk@denx.de>
Wed, 26 Mar 2008 17:09:55 +0000 (18:09 +0100)
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 <agust@denx.de>
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
include/usb.h

index 4e1539fa8820684b7c38e2cf00c283d7b6eeb07d..5a6ffddec805fbef68069bdcf73a3886a611bf53 100644 (file)
@@ -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