On Thu, Jan 29, 2015 at 9:56 AM, Grant Likely <grant.likely@xxxxxxxxxx> wrote: > On Tue, 16 Dec 2014 15:13:24 +1300 > , Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx> > wrote: >> Currently in arch and driver code that needs early access to the >> flattened device tree it is necessary to add specific CFLAGS so that >> when scripts/dtc/libfdt/libfdt.h is included the C preprocessor is able >> to locate the libfdt versions of libfdt_env.h and fdt.h without >> generating an error. [...] >> diff --git a/scripts/dtc/libfdt/libfdt.h b/scripts/dtc/libfdt/libfdt.h >> index 73f4975..ea1ddcd 100644 >> --- a/scripts/dtc/libfdt/libfdt.h >> +++ b/scripts/dtc/libfdt/libfdt.h >> @@ -51,8 +51,8 @@ >> * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. >> */ >> >> -#include <libfdt_env.h> >> -#include <fdt.h> >> +#include "libfdt_env.h" >> +#include "fdt.h" > > Until this is resolved with upstream DTC, what about adding dummy > libfdt.h, libfdt_env.h and fdt.h to include/linux? That would get this > out of the blocker path for merging this code. 2 of those already exist. Is it only a matter of adding fdt.h or is there more to it? This could also be carried as part of the import script to fix up. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html