]> git.sur5r.net Git - u-boot/commitdiff
include/mmc.h: Fix typo in IS_SD() macro
authorAlbin Tonnerre <albin.tonnerre@free-electrons.com>
Sat, 22 Aug 2009 12:21:53 +0000 (14:21 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 23 Aug 2009 20:11:30 +0000 (22:11 +0200)
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
include/mmc.h

index 229d494ff76de458e7150f0bac907c1cb6077c26..2dc69abb68e9fc3c1909cbfceb894055947cd24c 100644 (file)
@@ -47,7 +47,7 @@
 
 #define SD_DATA_4BIT   0x00040000
 
-#define IS_SD(x) (mmc->version & SD_VERSION_SD)
+#define IS_SD(x) (x->version & SD_VERSION_SD)
 
 #define MMC_DATA_READ          1
 #define MMC_DATA_WRITE         2