From 1187df45bf9e7a780b76587c96c7f6b4696a3f96 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 11 Sep 2019 14:13:45 +0200 Subject: of: add of_diff() of_diff compares two device trees against each other and prints a diff-like result. Signed-off-by: Sascha Hauer --- include/of.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/of.h b/include/of.h index b5f54dd4e5..c8275e169b 100644 --- a/include/of.h +++ b/include/of.h @@ -104,6 +104,7 @@ void of_print_property(const void *data, int len); void of_print_cmdline(struct device_node *root); void of_print_nodes(struct device_node *node, int indent); +void of_diff(struct device_node *a, struct device_node *b, int indent); int of_probe(void); int of_parse_dtb(struct fdt_header *fdt); struct device_node *of_unflatten_dtb(const void *fdt); -- cgit v1.2.3