diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2020-04-23 14:11:12 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-04-30 15:35:41 +0100 |
commit | 958bae18b26ea7183865c8876c04441edfed3760 (patch) | |
tree | d054c516c41e1f2d80925058a66de858656e8d9a /device_tree.c | |
parent | 80972d3bb2dbc6a47bae84b694c14acba9c1de64 (diff) |
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 'device_tree.c')
-rw-r--r-- | device_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device_tree.c b/device_tree.c index f5b4699aed..b335dae707 100644 --- a/device_tree.c +++ b/device_tree.c @@ -291,7 +291,7 @@ char **qemu_fdt_node_unit_path(void *fdt, const char *name, Error **errp) return path_array; } -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) { int offset, len, ret; |