Message ID | 1455502619-16093-6-git-send-email-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 481922f14a4801bd5abfb90705ebcaf76bd90df8 |
Delegated to: | Simon Glass |
Headers | show |
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 --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 */
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(-)