Skip to contentSkip to conversation

Fix build with stub USB backend

PATCH In review Nathan Whitehorn 2 participants 2 messages Mar 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix build with stub USB backend

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.

---
 usb-stub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
usb-stub.c +1 -1
index 9c3fcea..b4e10c1 100644
@@ -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

#1 lore raw

Am 03.03.2012 17:38, schrieb Nathan Whitehorn:

Quoted 5 lines

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.

Looks like a duplicate, a similar patch was just applied.

Andreas

Quoted 19 lines
---
 usb-stub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
usb-stub.c +1 -1
index 9c3fcea..b4e10c1 100644
@@ -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;
 }
Signature · 1 line
1.7.9
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg