summaryrefslogtreecommitdiffstats
path: root/qom/object.c
diff options
context:
space:
mode:
authorPaolo Bonzini2012-03-30 14:54:31 +0200
committerAndreas Färber2012-06-18 15:14:38 +0200
commit8cb6789a31e8c5823b36d84416433c145a1e6442 (patch)
tree43f266ce5c165ee1c393173fa143e12b19a377d0 /qom/object.c
parentqbus: Initialize in standard way (diff)
downloadqemu-8cb6789a31e8c5823b36d84416433c145a1e6442.tar.gz
qemu-8cb6789a31e8c5823b36d84416433c145a1e6442.tar.xz
qemu-8cb6789a31e8c5823b36d84416433c145a1e6442.zip
qdev: Remove qdev_prop_exists()
Can be replaced everywhere with object_property_find(). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qom/object.c')
-rw-r--r--qom/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qom/object.c b/qom/object.c
index 27cc651a91..e072e895bb 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -672,7 +672,7 @@ void object_property_add(Object *obj, const char *name, const char *type,
QTAILQ_INSERT_TAIL(&obj->properties, prop, node);
}
-static ObjectProperty *object_property_find(Object *obj, const char *name)
+ObjectProperty *object_property_find(Object *obj, const char *name)
{
ObjectProperty *prop;