[U-Boot] [PATCH v3 01/13] mmc: mmc header fix

Mateusz Zalega m.zalega at samsung.com
Mon Mar 31 17:49:00 CEST 2014


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.

Signed-off-by: Mateusz Zalega <m.zalega at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
---
 include/mmc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/mmc.h b/include/mmc.h
index b65ad9e..afc226a 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)
-- 
1.9.0



More information about the U-Boot mailing list