diff mbox

[RFC,09/11] qdev: Add usb_bus_dev_info to usb_bus_info.

Message ID 1261861899-1984-10-git-send-email-nathan@parenthephobia.org.uk
State New
Headers show

Commit Message

Nathan Baum Dec. 26, 2009, 9:11 p.m. UTC
Signed-off-by: Nathan Baum <nathan@parenthephobia.org.uk>
---
 hw/usb-bus.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/hw/usb-bus.c b/hw/usb-bus.c
index 6d02807..582924d 100644
--- a/hw/usb-bus.c
+++ b/hw/usb-bus.c
@@ -6,11 +6,13 @@ 
 #include "qjson.h"
 
 static void usb_bus_dev_print(Monitor *mon, DeviceState *qdev, int indent);
+static QObject *usb_bus_dev_info(Monitor *mon, DeviceState *qdev);
 
 static struct BusInfo usb_bus_info = {
     .name      = "USB",
     .size      = sizeof(USBBus),
     .print_dev = usb_bus_dev_print,
+    .info_dev = usb_bus_dev_info,
 };
 static int next_usb_bus = 0;
 static QTAILQ_HEAD(, USBBus) busses = QTAILQ_HEAD_INITIALIZER(busses);