Patchwork [U-Boot,2/9] part: header fix

login
register
mail settings
Submitter Mateusz Zalega
Date Jan. 9, 2014, 2:31 p.m.
Message ID <1389277919-15279-2-git-send-email-m.zalega@samsung.com>
Download mbox | patch
Permalink /patch/308826/
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Comments

Mateusz Zalega - Jan. 9, 2014, 2:31 p.m.
Implementation made use of types defined in common.h, even though it
wasn't #included. It worked in circumstances when .c files included
every needed header (all).

Change-Id: Iafdd4f1997767e9eb84d583fd32c79c8c4d43afd
Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
---
 include/part.h | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/include/part.h b/include/part.h
index ce840bd..329613a 100644
--- a/include/part.h
+++ b/include/part.h
@@ -8,6 +8,7 @@ 
 #define _PART_H
 
 #include <ide.h>
+#include <common.h>
 
 typedef struct block_dev_desc {
 	int		if_type;	/* type of the interface */