]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
libfdt: remove unnecessary include directive from <linux/libfdt.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 7 Jan 2018 03:02:16 +0000 (12:02 +0900)
committerRob Herring <robh@kernel.org>
Thu, 11 Jan 2018 20:39:07 +0000 (14:39 -0600)
<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>
include/linux/libfdt.h

index 27ba06e5d117e7833c68fd3cca5c7ef61748e273..90ed4ebfa692c3a9d069a151335c52fac6cc2fa1 100644 (file)
@@ -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_ */