From aff4dd068c9fdd7836522945e18e75a58b6bbd15 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 23 May 2013 13:03:06 -0700 Subject: [PATCH] staging: comedi: usbduxsigma: rename usbdux_pwm_irq() Rename the function so it has namespace associated with the driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/usbduxsigma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/usbduxsigma.c b/drivers/staging/comedi/drivers/usbduxsigma.c index 493898068bd6..79f714c7c305 100644 --- a/drivers/staging/comedi/drivers/usbduxsigma.c +++ b/drivers/staging/comedi/drivers/usbduxsigma.c @@ -1168,7 +1168,7 @@ static int usbdux_pwm_cancel(struct comedi_device *dev, return send_dux_commands(dev, SENDPWMOFF); } -static void usbduxsub_pwm_irq(struct urb *urb) +static void usbduxsigma_pwm_irq(struct urb *urb) { struct comedi_device *dev = urb->context; struct usbduxsigma_private *devpriv = dev->private; @@ -1225,7 +1225,7 @@ static int usbduxsigma_submit_pwm_urb(struct comedi_device *dev) /* in case of a resubmission after an unlink... */ usb_fill_bulk_urb(urb, usb, usb_sndbulkpipe(usb, PWM_EP), urb->transfer_buffer, devpriv->sizePwmBuf, - usbduxsub_pwm_irq, dev); + usbduxsigma_pwm_irq, dev); return usb_submit_urb(urb, GFP_ATOMIC); } -- 2.20.1