]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:25 +0000 (22:35 +0200)
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 6bb17acc5e4bead80e8be443ab18e98179dfb011..7dd03fb89c534b0e91022815ea511976dbff25ad 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