summaryrefslogtreecommitdiff
path: root/device_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'device_tree.h')
-rw-r--r--device_tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device_tree.h b/device_tree.h
index 4898d957af..2244270b2d 100644
--- a/device_tree.h
+++ b/device_tree.h
@@ -18,7 +18,7 @@ void *create_device_tree(int *sizep);
void *load_device_tree(const char *filename_path, int *sizep);
int qemu_devtree_setprop(void *fdt, const char *node_path,
- const char *property, void *val_array, int size);
+ const char *property, const void *val_array, int size);
int qemu_devtree_setprop_cell(void *fdt, const char *node_path,
const char *property, uint32_t val);
int qemu_devtree_setprop_u64(void *fdt, const char *node_path,