Commit 3e5db7aa authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] usbaudio.c: fix for urb callback function change

parent 0bf9a040
......@@ -526,7 +526,7 @@ static struct snd_urb_ops audio_urb_ops[2] = {
/*
* complete callback from data urb
*/
static void snd_complete_urb(struct urb *urb)
static void snd_complete_urb(struct urb *urb, struct pt_regs *regs)
{
snd_urb_ctx_t *ctx = (snd_urb_ctx_t *)urb->context;
snd_usb_substream_t *subs = ctx->subs;
......@@ -551,7 +551,7 @@ static void snd_complete_urb(struct urb *urb)
/*
* complete callback from sync urb
*/
static void snd_complete_sync_urb(struct urb *urb)
static void snd_complete_sync_urb(struct urb *urb, struct pt_regs *regs)
{
snd_urb_ctx_t *ctx = (snd_urb_ctx_t *)urb->context;
snd_usb_substream_t *subs = ctx->subs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment