diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-07-17 11:30:28 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-07-27 19:02:12 (GMT) |
commit | b0c8f4a7972ea114654a9bac88fd458f2e2e8636 (patch) | |
tree | 603fcbbf26137b35e1284bdab84ad6f3698b085e /board/sunxi/dram_sun5i_auto.c | |
parent | 3c963d2a448dca13bb368095a17d4993daa36f87 (diff) | |
download | u-boot-b0c8f4a7972ea114654a9bac88fd458f2e2e8636.tar.xz |
Kill unneeded #include <linux/kconfig.h>
Because the top-level Makefile forces all the source files
to include include/linux/kconfig.h (see the UBOOTINCLUDE define),
these includes are redundant.
By the way, there are exceptions for the statement above; host
programs. In fact, host tools in U-Boot depend on a particular
board configuration, although I think they should not. So, some
files still include <linux/config.h> to work around build errors
on host tools.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/sunxi/dram_sun5i_auto.c')
-rw-r--r-- | board/sunxi/dram_sun5i_auto.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/board/sunxi/dram_sun5i_auto.c b/board/sunxi/dram_sun5i_auto.c index 596a206..e3fa243 100644 --- a/board/sunxi/dram_sun5i_auto.c +++ b/board/sunxi/dram_sun5i_auto.c @@ -2,7 +2,6 @@ #include <common.h> #include <asm/arch/dram.h> -#include <linux/kconfig.h> static struct dram_para dram_para = { .clock = CONFIG_DRAM_CLK, |