Fix CONFIG_MMC usage in fat code
PATCH 1/1 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 <[email protected]>
--- fs/fat/fat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/fat/fat.c +1 -1
@@ -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 ;
Signature · 1 line
1.5.0.2.230.gfbe3d-dirty
Wolfgang Denk
AppliedPATCH 1/1 Fix CONFIG_MMC usage in fat code
Quoted 5 lines · In message <[email protected]> you wrote:
A #if statement in
fat.cdepended onCONFIG_MMC, instead ofdefined(CONFIG_MMC). This meantCONFIG_MMCneeded to be defined as "1" rather than just defined. Now it's better.Signed-off-by Andy Fleming <[email protected]>
Applied. Thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Living on Earth may be expensive, but it includes an annual free trip around the Sun.