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>
This commit is contained in:
parent
bd6dc70b62
commit
5fbd55d21e
@ -3,7 +3,6 @@
|
|||||||
#define _INCLUDE_LIBFDT_H_
|
#define _INCLUDE_LIBFDT_H_
|
||||||
|
|
||||||
#include <linux/libfdt_env.h>
|
#include <linux/libfdt_env.h>
|
||||||
#include "../../scripts/dtc/libfdt/fdt.h"
|
|
||||||
#include "../../scripts/dtc/libfdt/libfdt.h"
|
#include "../../scripts/dtc/libfdt/libfdt.h"
|
||||||
|
|
||||||
#endif /* _INCLUDE_LIBFDT_H_ */
|
#endif /* _INCLUDE_LIBFDT_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user