summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorMateusz Zalega <m.zalega@samsung.com>2014-04-30 13:04:15 +0200
committerLukasz Majewski <l.majewski@samsung.com>2014-05-05 08:00:28 +0200
commit07a2d42cd4964168b98c895dd2bb9c0c8275992d (patch)
treeef84bb39aa30e7c94830a4bb92ee4a65387aa4cb /include/mmc.h
parent2fc5dab2ed19b6e15ba0726905b6311793397806 (diff)
downloadu-boot-imx-07a2d42cd4964168b98c895dd2bb9c0c8275992d.zip
u-boot-imx-07a2d42cd4964168b98c895dd2bb9c0c8275992d.tar.gz
u-boot-imx-07a2d42cd4964168b98c895dd2bb9c0c8275992d.tar.bz2
mmc: mmc header fix
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Change-Id: I5b203928b689887e3e78beb00a378955e0553eb7 Signed-off-by: Mateusz Zalega <m.zalega@samsung.com> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 42d0125..bc11f45 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -12,6 +12,7 @@
#include <linux/list.h>
#include <linux/compiler.h>
+#include <part.h>
#define SD_VERSION_SD 0x20000
#define SD_VERSION_3 (SD_VERSION_SD | 0x300)