diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_usb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_usb.c b/common/cmd_usb.c index 0bf050b..25a3cc4 100644 --- a/common/cmd_usb.c +++ b/common/cmd_usb.c @@ -32,7 +32,9 @@ #include <usb.h> +#ifdef CONFIG_USB_STORAGE static int usb_stor_curr_dev=-1; /* current device */ +#endif /* some display routines (info command) */ char * usb_get_class_desc(unsigned char dclass) @@ -441,7 +443,9 @@ int do_usb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) int i; struct usb_device *dev = NULL; +#ifdef CONFIG_USB_STORAGE block_dev_desc_t *stor_dev; +#endif if ((strncmp(argv[1],"reset",5) == 0) || (strncmp(argv[1],"start",5) == 0)){ |