Revision be5907f2

b/device_tree.c
132 132
}
133 133

  
134 134
int qemu_fdt_setprop(void *fdt, const char *node_path,
135
                     const char *property, const void *val_array, int size)
135
                     const char *property, const void *val, int size)
136 136
{
137 137
    int r;
138 138

  
139
    r = fdt_setprop(fdt, findnode_nofail(fdt, node_path), property, val_array, size);
139
    r = fdt_setprop(fdt, findnode_nofail(fdt, node_path), property, val, size);
140 140
    if (r < 0) {
141 141
        fprintf(stderr, "%s: Couldn't set %s/%s: %s\n", __func__, node_path,
142 142
                property, fdt_strerror(r));
b/include/sysemu/device_tree.h
18 18
void *load_device_tree(const char *filename_path, int *sizep);
19 19

  
20 20
int qemu_fdt_setprop(void *fdt, const char *node_path,
21
                     const char *property, const void *val_array, int size);
21
                     const char *property, const void *val, int size);
22 22
int qemu_fdt_setprop_cell(void *fdt, const char *node_path,
23 23
                          const char *property, uint32_t val);
24 24
int qemu_fdt_setprop_u64(void *fdt, const char *node_path,

Also available in: Unified diff