From a2ee6b4fcb3e2f2f5d60211ce0f734c61f8e0e30 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Fri, 24 Dec 2010 12:14:12 +0900 Subject: qdev: export qdev_find_recursive() for later use This patch exports qdev_find_recursive() for later use. Signed-off-by: Isaku Yamahata Signed-off-by: Michael S. Tsirkin --- hw/qdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/qdev.c') 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; -- cgit v1.2.3-55-g7522