]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix CONFIG_MMC usage in fat code
authorAndy Fleming <afleming@freescale.com>
Wed, 16 Jan 2008 19:06:59 +0000 (13:06 -0600)
committerWolfgang Denk <wd@denx.de>
Thu, 14 Feb 2008 21:03:17 +0000 (22:03 +0100)
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>
fs/fat/fat.c

index ee8b5fe47edbb0b5d284e0cf78a2f54a949dbd44..c1e57412d77994b6a03789346a6d45b1a31de123 100644 (file)
@@ -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;