diff options
author | Simon Sandström <simon@nikanor.nu> | 2017-02-04 18:09:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-05 11:41:39 +0100 |
commit | 6ddcf34f113a500d75e3e62b63079a924bc0d29c (patch) | |
tree | f517fdaba2d0bb178d7ccef889ce3dd0ebf4d14e /drivers/staging/vt6656/usbpipe.h | |
parent | 75ce077cc0b589008795d7efe160a71d8fddb0da (diff) | |
download | linux-stable-6ddcf34f113a500d75e3e62b63079a924bc0d29c.tar.gz linux-stable-6ddcf34f113a500d75e3e62b63079a924bc0d29c.tar.bz2 linux-stable-6ddcf34f113a500d75e3e62b63079a924bc0d29c.zip |
staging: vt6656: Add missing identifier names
Fix all "function definition argument '...' should also have an
identifier name" warnings in vt6656. Use identifier name from each
corresponding C file.
Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/usbpipe.h')
-rw-r--r-- | drivers/staging/vt6656/usbpipe.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/drivers/staging/vt6656/usbpipe.h b/drivers/staging/vt6656/usbpipe.h index 8bafd9aee1fa..9fc5ac0ef6c1 100644 --- a/drivers/staging/vt6656/usbpipe.h +++ b/drivers/staging/vt6656/usbpipe.h @@ -28,14 +28,17 @@ #include "device.h" -int vnt_control_out(struct vnt_private *, u8, u16, u16, u16, u8 *); -int vnt_control_in(struct vnt_private *, u8, u16, u16, u16, u8 *); +int vnt_control_out(struct vnt_private *priv, u8 request, u16 value, + u16 index, u16 length, u8 *buffer); +int vnt_control_in(struct vnt_private *priv, u8 request, u16 value, + u16 index, u16 length, u8 *buffer); -void vnt_control_out_u8(struct vnt_private *, u8, u8, u8); -void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *); +void vnt_control_out_u8(struct vnt_private *priv, u8 reg, u8 ref_off, u8 data); +void vnt_control_in_u8(struct vnt_private *priv, u8 reg, u8 reg_off, u8 *data); -int vnt_start_interrupt_urb(struct vnt_private *); -int vnt_submit_rx_urb(struct vnt_private *, struct vnt_rcb *); -int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *); +int vnt_start_interrupt_urb(struct vnt_private *priv); +int vnt_submit_rx_urb(struct vnt_private *priv, struct vnt_rcb *rcb); +int vnt_tx_context(struct vnt_private *priv, + struct vnt_usb_send_context *context); #endif /* __USBPIPE_H__ */ |