staging: comedi: usbduxsigma: rename usbdux_pwm_irq()
Rename the function so it has namespace associated with the driver. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
440b2168ae
commit
aff4dd068c
1 changed files with 2 additions and 2 deletions
|
@ -1168,7 +1168,7 @@ static int usbdux_pwm_cancel(struct comedi_device *dev,
|
||||||
return send_dux_commands(dev, SENDPWMOFF);
|
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 comedi_device *dev = urb->context;
|
||||||
struct usbduxsigma_private *devpriv = dev->private;
|
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... */
|
/* in case of a resubmission after an unlink... */
|
||||||
usb_fill_bulk_urb(urb, usb, usb_sndbulkpipe(usb, PWM_EP),
|
usb_fill_bulk_urb(urb, usb, usb_sndbulkpipe(usb, PWM_EP),
|
||||||
urb->transfer_buffer, devpriv->sizePwmBuf,
|
urb->transfer_buffer, devpriv->sizePwmBuf,
|
||||||
usbduxsub_pwm_irq, dev);
|
usbduxsigma_pwm_irq, dev);
|
||||||
|
|
||||||
return usb_submit_urb(urb, GFP_ATOMIC);
|
return usb_submit_urb(urb, GFP_ATOMIC);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue