From: Andrew Gabbasov Date: Thu, 19 Mar 2015 12:44:02 +0000 (-0500) Subject: mmc: Fix typo in MMC type checking macro X-Git-Tag: v2015.07-rc1~4^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f2da751beb84861ba0a999aaea09e73f578022a;p=u-boot mmc: Fix typo in MMC type checking macro The version flag constant name used in IS_MMC macro is incorrect/undefined. Signed-off-by: Andrew Gabbasov --- diff --git a/include/mmc.h b/include/mmc.h index 2ad0f191c3..a251531aed 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -61,7 +61,7 @@ #define SD_DATA_4BIT 0x00040000 #define IS_SD(x) ((x)->version & SD_VERSION_SD) -#define IS_MMC(x) ((x)->version & SD_VERSION_MMC) +#define IS_MMC(x) ((x)->version & MMC_VERSION_MMC) #define MMC_DATA_READ 1 #define MMC_DATA_WRITE 2