summaryrefslogtreecommitdiffstats
path: root/include/sysemu
diff options
context:
space:
mode:
authorPeter Crosthwaite2013-11-11 09:15:21 +0100
committerAlexander Graf2013-12-20 01:58:12 +0100
commitbe5907f2cc6d075b1d687e51a0e0d8ac074a7ac8 (patch)
tree1b12522591d40c8ac107a9acdb4e7931b3bf108e /include/sysemu
parentdevice_tree: s/qemu_devtree/qemu_fdt globally (diff)
downloadqemu-be5907f2cc6d075b1d687e51a0e0d8ac074a7ac8.tar.gz
qemu-be5907f2cc6d075b1d687e51a0e0d8ac074a7ac8.tar.xz
qemu-be5907f2cc6d075b1d687e51a0e0d8ac074a7ac8.zip
device_tree: qemu_fdt_setprop: Rename val_array arg
Looking at the implementation, this doesn't really have a lot to do with arrays. Its just a pointer to a buffer and is passed through to the wrapped fn (qemu_fdt_setprop) unchanged. So rename to make it consistent with libfdt, which in the wrapped function just calls it "val". Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Alexander Graf <agraf@suse.de>
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 68da97a3b4..899f05c138 100644
--- a/include/sysemu/device_tree.h
+++ b/include/sysemu/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_fdt_setprop(void *fdt, const char *node_path,
- const char *property, const void *val_array, int size);
+ const char *property, const void *val, int size);
int qemu_fdt_setprop_cell(void *fdt, const char *node_path,
const char *property, uint32_t val);
int qemu_fdt_setprop_u64(void *fdt, const char *node_path,