From 1968e615d4092f728f4732a0b148ded6d1caa731 Mon Sep 17 00:00:00 2001 From: wdenk Date: Thu, 24 Feb 2005 23:23:29 +0000 Subject: Cleanup USB and partition defines --- common/cmd_usb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/cmd_usb.c') 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 +#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)){ -- cgit v1.1