mmc: mmc header fix
authorMateusz Zalega <m.zalega@samsung.com>
Wed, 30 Apr 2014 11:04:15 +0000 (13:04 +0200)
committerLukasz Majewski <l.majewski@samsung.com>
Mon, 5 May 2014 06:00:28 +0000 (08:00 +0200)
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>
include/mmc.h

index 42d01251b59bc8d5316e829d931b15d3eb66b11a..bc11f45a6fca691bcc8ecb873af5a0bbafb76def 100644 (file)
@@ -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)