From: Andy Fleming Date: Wed, 16 Jan 2008 19:06:59 +0000 (-0600) Subject: Fix CONFIG_MMC usage in fat code X-Git-Tag: v1.3.2-rc1~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=21f6f9636f0e978397548751347425fbf8d42bb3;p=u-boot 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 --- diff --git a/fs/fat/fat.c b/fs/fat/fat.c index ee8b5fe47e..c1e57412d7 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;