[U-Boot] [PATCH] include/mmc.h: Fix typo in IS_SD() macro
Albin Tonnerre
albin.tonnerre at free-electrons.com
Sat Aug 22 14:21:53 CEST 2009
Signed-off-by: Albin Tonnerre <albin.tonnerre at free-electrons.com>
---
include/mmc.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/mmc.h b/include/mmc.h
index 229d494..2dc69ab 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -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
--
1.6.0.4
More information about the U-Boot
mailing list