]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: Fix typo in MMC type checking macro
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Thu, 19 Mar 2015 12:44:02 +0000 (07:44 -0500)
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>
Tue, 5 May 2015 08:50:37 +0000 (11:50 +0300)
The version flag constant name used in IS_MMC macro is incorrect/undefined.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
include/mmc.h

index 2ad0f191c3bcd3b6ea73c2ef1d74086aeecf7568..a251531aed01aa9cef0dd84ad4fbc5ce17defde8 100644 (file)
@@ -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