diff mbox

[U-Boot,05/30] dm: part: Drop the common.h header

Message ID 1455502619-16093-6-git-send-email-sjg@chromium.org
State Accepted
Commit 481922f14a4801bd5abfb90705ebcaf76bd90df8
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Feb. 15, 2016, 2:16 a.m. UTC
We should not include <common.h> in header files. Each C file should include
it if needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

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

Comments

Bin Meng Feb. 16, 2016, 10:09 a.m. UTC | #1
On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass <sjg@chromium.org> wrote:
> We should not include <common.h> in header files. Each C file should include
> it if needed.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  include/part.h | 1 -
>  1 file changed, 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff mbox

Patch

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 */