diff options
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/fat/fat.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/fs/fat/fat.c b/fs/fat/fat.c index daa70349d..6f1e57cbc 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -89,7 +89,8 @@ fat_register_device(block_dev_desc_t *dev_desc, int part_no)  		part_offset=0;  	}  	else { -#if (CONFIG_COMMANDS & CFG_CMD_IDE) || (CONFIG_COMMANDS & CFG_CMD_SCSI) +#if (CONFIG_COMMANDS & CFG_CMD_IDE) || (CONFIG_COMMANDS & CFG_CMD_SCSI) || \ +    (CONFIG_COMMANDS & CFG_CMD_USB)  		disk_partition_t info;  		if(!get_partition_info(dev_desc, part_no, &info)) {  			part_offset = info.start; |