diff options
author | Andy Fleming <afleming@freescale.com> | 2008-01-16 19:06:59 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-14 21:03:17 (GMT) |
commit | 21f6f9636f0e978397548751347425fbf8d42bb3 (patch) | |
tree | b6db8c63044c51f7f2c4151866946b6d093db077 /fs/fat/fat.c | |
parent | f57d7d364ce189e39b0a64338d2f8012c074a2bd (diff) | |
download | u-boot-21f6f9636f0e978397548751347425fbf8d42bb3.tar.xz |
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>
Diffstat (limited to 'fs/fat/fat.c')
-rw-r--r-- | fs/fat/fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c index ee8b5fe..c1e5741 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -984,7 +984,7 @@ file_fat_detectfs(void) #if defined(CONFIG_CMD_IDE) || \ defined(CONFIG_CMD_SCSI) || \ defined(CONFIG_CMD_USB) || \ - (CONFIG_MMC) + defined(CONFIG_MMC) printf("Interface: "); switch(cur_dev->if_type) { case IF_TYPE_IDE : printf("IDE"); break; |