From 09e5ab6360ce78fc0acbfe29ac100f8148397ca6 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Fri, 3 Feb 2012 12:28:43 -0600 Subject: qdev: Use wrapper for qdev_get_path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This makes it easier to remove it from BusInfo. Signed-off-by: Anthony Liguori Signed-off-by: Paolo Bonzini [AF: Drop now unnecessary NULL initialization in scsibus_get_dev_path()] Signed-off-by: Andreas Färber --- hw/qdev.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/qdev.h') diff --git a/hw/qdev.h b/hw/qdev.h index 1af5382cad..013ccf2b7a 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -352,4 +352,6 @@ void qdev_set_parent_bus(DeviceState *dev, BusState *bus); extern int qdev_hotplug; +char *qdev_get_dev_path(DeviceState *dev); + #endif -- cgit 1.4.1