Here are some simple fixes to make the OF header files safe to include
when CONFIG_OF is not set, and add some debug context messages.
Cheers,
g.
---
Grant Likely (3):
of: protect contents of of_platform.h and of_device.h
of/flattree: Make unflatten_device_tree() safe to call from any arch
of/flattree: make of_fdt.h safe to unconditionally include.
drivers/of/fdt.c | 15 +++++++++++++++
include/linux/of_device.h | 2 ++
include/linux/of_fdt.h | 4 ++++
include/linux/of_platform.h | 2 ++
4 files changed, 23 insertions(+), 0 deletions(-)
--
Signature
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss