[U-Boot] [PATCH v2 05/32] dm: part: Drop the common.h header

Simon Glass sjg at chromium.org
Mon Feb 29 23:25:38 CET 2016


We should not include <common.h> in header files. Each C file should include
it if needed.

Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v2: None

 include/part.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/part.h b/include/part.h
index d1e9d0f..140c9b6 100644
--- a/include/part.h
+++ b/include/part.h
@@ -8,7 +8,6 @@
 #define _PART_H
 
 #include <ide.h>
-#include <common.h>
 
 struct blk_desc {
 	int		if_type;	/* type of the interface */
-- 
2.7.0.rc3.207.g0ac5344



More information about the U-Boot mailing list