qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix build with stub USB backend


From: Nathan Whitehorn
Subject: [Qemu-devel] [PATCH] Fix build with stub USB backend
Date: Sat, 03 Mar 2012 10:38:02 -0600
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120212 Thunderbird/10.0

Recent changes to the signature of usb_host_device_open() have broken the stub USB backend. This updates the stub version of usb_host_device_open() to correspond to the new API.

Signed-off-by: Nathan Whitehorn <address@hidden>
---
 usb-stub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usb-stub.c b/usb-stub.c
index 9c3fcea..b4e10c1 100644
--- a/usb-stub.c
+++ b/usb-stub.c
@@ -41,7 +41,7 @@ void usb_host_info(Monitor *mon)
 }

 /* XXX: modify configure to compile the right host driver */
-USBDevice *usb_host_device_open(const char *devname)
+USBDevice *usb_host_device_open(USBBus *bus, const char *devname)
 {
     return NULL;
 }
--
1.7.9




reply via email to

[Prev in Thread] Current Thread [Next in Thread]