summaryrefslogtreecommitdiff
path: root/hw/qdev.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-12-24 12:14:12 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-12-24 10:35:27 +0200
commita2ee6b4fcb3e2f2f5d60211ce0f734c61f8e0e30 (patch)
tree34122d0f01cef00c44238ad4024aa5acae8d2e03 /hw/qdev.c
parentb3a29fd5604841dac8bfee1bac35f150cab976fb (diff)
downloadqemu-a2ee6b4fcb3e2f2f5d60211ce0f734c61f8e0e30.tar.gz
qdev: export qdev_find_recursive() for later use
This patch exports qdev_find_recursive() for later use. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/qdev.c')
-rw-r--r--hw/qdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev.c b/hw/qdev.c
index 4747c6768c..31eb464f23 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -548,7 +548,7 @@ static BusState *qbus_find_recursive(BusState *bus, const char *name,
return NULL;
}
-static DeviceState *qdev_find_recursive(BusState *bus, const char *id)
+DeviceState *qdev_find_recursive(BusState *bus, const char *id)
{
DeviceState *dev, *ret;
BusState *child;