Patchwork [2/7] usb-uvc: compile fix

login
register
mail settings
Submitter Brad Hards
Date June 2, 2011, 5:41 a.m.
Message ID <1306993270-24144-3-git-send-email-bradh@frogmouth.net>
Download mbox | patch
Permalink /patch/98346/
State New
Headers show

Comments

Brad Hards - June 2, 2011, 5:41 a.m.
Looks like function signature changed.

Signed-off-by: Brad Hards <bradh@frogmouth.net>
---
 hw/usb-uvc.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/hw/usb-uvc.c b/hw/usb-uvc.c
index e88ee00..c9c8f77 100644
--- a/hw/usb-uvc.c
+++ b/hw/usb-uvc.c
@@ -307,8 +307,9 @@  static void usb_uvc_handle_reset(USBDevice *dev)
 	DPRINTF("Reset called\n");
 }
 
-static int usb_uvc_handle_control(USBDevice *dev, int request, int value,
-								  int index, int length, uint8_t *data)
+static int usb_uvc_handle_control(USBDevice *dev, USBPacket *p, int request,
+                                  int value, int index, int length,
+                                  uint8_t *data)
 {
 	int ret = 0;
 	USBUVCState *s = (USBUVCState *)dev;