lkml.org 
[lkml]   [2018]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] libfdt: remove unnecessary include directive from <linux/libfdt.h>
Date
<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>
---

include/linux/libfdt.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/libfdt.h b/include/linux/libfdt.h
index 27ba06e..90ed4eb 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_ */
--
2.7.4
\
 
 \ /
  Last update: 2018-01-06 18:51    [W:0.052 / U:4.276 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site