summaryrefslogtreecommitdiff
path: root/include
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 /include
parent963f2f611741f8d9c38bd7caf20ae8c95cab7b3f (diff)
include/mmc.h: Fix typo in IS_SD() macro
Signed-off-by: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Diffstat (limited to 'include')
-rw-r--r--include/mmc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 229d494ff76..2dc69abb68e 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