summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbin Tonnerre <albin.tonnerre@free-electrons.com>2009-08-22 14:21:53 +0200
committerWolfgang Denk <wd@denx.de>2009-08-23 22:11:30 +0200
commit79b91de958511840d2a7491be92d435b7ef43f17 (patch)
tree22bac245e655aa57c25a070f1c49f7332c242cab
parent963f2f611741f8d9c38bd7caf20ae8c95cab7b3f (diff)
downloadu-boot-imx-79b91de958511840d2a7491be92d435b7ef43f17.zip
u-boot-imx-79b91de958511840d2a7491be92d435b7ef43f17.tar.gz
u-boot-imx-79b91de958511840d2a7491be92d435b7ef43f17.tar.bz2
include/mmc.h: Fix typo in IS_SD() macro
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
-rw-r--r--include/mmc.h2
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