mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
arm: Don't include common.h in header files
It is bad practice to include common.h in other header files since it can bring in any number of superfluous definitions. It implies that some C files don't include it and thus may be missing CONFIG options that are set up by that file. The C files should include these themselves. Update some header files in arch/arm to drop this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b79fdc7697
commit
c3dc39a2f8
80 changed files with 67 additions and 89 deletions
|
@ -1,6 +1,7 @@
|
|||
#ifndef _LINUX_COMPAT_H_
|
||||
#define _LINUX_COMPAT_H_
|
||||
|
||||
#include <log.h>
|
||||
#include <malloc.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/err.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue