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

login
register
mail settings
Submitter Nathan Baum
Date Dec. 26, 2009, 9:19 p.m.
Message ID <1261862362-2530-10-git-send-email-nathan@parenthephobia.org.uk>
Download mbox | patch
Permalink /patch/41820/
State New
Headers show

Comments

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

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);