Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masahiro Yamada and committed by
Rob Herring
5fbd55d2 bd6dc70b

-1
-1
include/linux/libfdt.h
··· 3 3 #define _INCLUDE_LIBFDT_H_ 4 4 5 5 #include <linux/libfdt_env.h> 6 - #include "../../scripts/dtc/libfdt/fdt.h" 7 6 #include "../../scripts/dtc/libfdt/libfdt.h" 8 7 9 8 #endif /* _INCLUDE_LIBFDT_H_ */