aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2020-04-23 14:11:12 +0200
committerPeter Maydell <peter.maydell@linaro.org>2020-04-30 15:35:41 +0100
commit958bae18b26ea7183865c8876c04441edfed3760 (patch)
treed054c516c41e1f2d80925058a66de858656e8d9a /include/sysemu
parent80972d3bb2dbc6a47bae84b694c14acba9c1de64 (diff)
downloadqemu-958bae18b26ea7183865c8876c04441edfed3760.zip
qemu-958bae18b26ea7183865c8876c04441edfed3760.tar.gz
qemu-958bae18b26ea7183865c8876c04441edfed3760.tar.bz2
device_tree: Constify compat in qemu_fdt_node_path()
Make compat in qemu_fdt_node_path() const char *. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 20200423121114.4274-3-edgar.iglesias@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/device_tree.h2
1 files changed, 1 insertions, 1 deletions
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);
/**