summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-07 12:02:16 +0900
committerRob Herring <robh@kernel.org>2018-01-11 14:39:07 -0600
commit5fbd55d21e562977773217828fcfa33cc44b16ac (patch)
treec4d67bc1d60d44c37556e3d74de19c96dfc2967c
parentbd6dc70b62bb99d257a3ef39840fd89bf98bc0dd (diff)
downloadlinux-5fbd55d21e562977773217828fcfa33cc44b16ac.tar.gz
linux-5fbd55d21e562977773217828fcfa33cc44b16ac.tar.bz2
linux-5fbd55d21e562977773217828fcfa33cc44b16ac.zip
libfdt: remove unnecessary include directive from <linux/libfdt.h>
<linux/libfdt.h> is a wrapper of scripts/dtc/libfdt/libfdt.h It should not do more than its job. In fact, libfdt.h depends on fdt.h, and scripts/dtc/libfdt/libfdt.h includes fdt.h already. Trust the work in the upstream DTC project. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--include/linux/libfdt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/libfdt.h b/include/linux/libfdt.h
index 27ba06e5d117..90ed4ebfa692 100644
--- a/include/linux/libfdt.h
+++ b/include/linux/libfdt.h
@@ -3,7 +3,6 @@
#define _INCLUDE_LIBFDT_H_
#include <linux/libfdt_env.h>
-#include "../../scripts/dtc/libfdt/fdt.h"
#include "../../scripts/dtc/libfdt/libfdt.h"
#endif /* _INCLUDE_LIBFDT_H_ */