From 958bae18b26ea7183865c8876c04441edfed3760 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Thu, 23 Apr 2020 14:11:12 +0200 Subject: device_tree: Constify compat in qemu_fdt_node_path() Make compat in qemu_fdt_node_path() const char *. Signed-off-by: Edgar E. Iglesias Message-id: 20200423121114.4274-3-edgar.iglesias@gmail.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- include/sysemu/device_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sysemu') diff --git a/include/sysemu/device_tree.h b/include/sysemu/device_tree.h index 7c53ef7..982c893 100644 --- a/include/sysemu/device_tree.h +++ b/include/sysemu/device_tree.h @@ -43,7 +43,7 @@ void *load_device_tree_from_sysfs(void); * @name may be NULL to wildcard names and only match compatibility * strings. */ -char **qemu_fdt_node_path(void *fdt, const char *name, char *compat, +char **qemu_fdt_node_path(void *fdt, const char *name, const char *compat, Error **errp); /** -- cgit v1.1