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 <[email protected]>
---
 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