]> git.proxmox.com Git - qemu.git/commit
Allow qemu_devtree_setprop() to take arbitrary values
authorDavid Gibson <dwg@au1.ibm.com>
Fri, 1 Apr 2011 04:15:09 +0000 (15:15 +1100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Apr 2011 16:34:54 +0000 (18:34 +0200)
commitc48974903051ceb7cfbda23c22c159ea4b482d93
tree278a07ca7663a73a4528fd9ac17e8881544b6ea4
parent81762d6dd0d430d87024f2c83e9c4dcc4329fb7d
Allow qemu_devtree_setprop() to take arbitrary values

Currently qemu_devtree_setprop() expects the new property value to be
given as a uint32_t *.  While property values consisting of u32s are
common, in general they can have any bytestring value.

Therefore, this patch alters the function to take a void * instead,
allowing callers to easily give anything as the property value.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
device_tree.c
device_tree.h