Commit 21f6f9636f0e978397548751347425fbf8d42bb3
Committed by
Wolfgang Denk
1 parent
f57d7d364c
Exists in
master
and in
54 other branches
Fix CONFIG_MMC usage in fat code
A #if statement in fat.c depended on CONFIG_MMC, instead of defined(CONFIG_MMC). This meant CONFIG_MMC needed to be defined as "1" rather than just defined. Now it's better. Signed-off-by: Andy Fleming <afleming@freescale.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
fs/fat/fat.c
... | ... | @@ -984,7 +984,7 @@ |
984 | 984 | #if defined(CONFIG_CMD_IDE) || \ |
985 | 985 | defined(CONFIG_CMD_SCSI) || \ |
986 | 986 | defined(CONFIG_CMD_USB) || \ |
987 | - (CONFIG_MMC) | |
987 | + defined(CONFIG_MMC) | |
988 | 988 | printf("Interface: "); |
989 | 989 | switch(cur_dev->if_type) { |
990 | 990 | case IF_TYPE_IDE : printf("IDE"); break; |