From 95134d435c765ca3a2b11d245c7520450ff16e30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=3D=3FUTF-8=3Fq=3FSimon=3D20Sandstr=3DC3=3DB6m=3F=3D?= Date: Thu, 26 Jan 2017 22:29:48 +0100 Subject: [PATCH] staging: vt6656: Add missing identifier names MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix multiple checkpatch.pl warnings: function definition argument '...' should also have an identifier name Signed-off-by: Simon Sandström Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/card.h | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/drivers/staging/vt6656/card.h b/drivers/staging/vt6656/card.h index c2cde7e92c8f..7f08cda27e2c 100644 --- a/drivers/staging/vt6656/card.h +++ b/drivers/staging/vt6656/card.h @@ -35,21 +35,23 @@ struct vnt_private; -void vnt_set_channel(struct vnt_private *, u32); -void vnt_set_rspinf(struct vnt_private *, u8); -void vnt_update_ifs(struct vnt_private *); -void vnt_update_top_rates(struct vnt_private *); -int vnt_ofdm_min_rate(struct vnt_private *); -void vnt_adjust_tsf(struct vnt_private *, u8, u64, u64); -bool vnt_get_current_tsf(struct vnt_private *, u64 *); -bool vnt_clear_current_tsf(struct vnt_private *); -void vnt_reset_next_tbtt(struct vnt_private *, u16); -void vnt_update_next_tbtt(struct vnt_private *, u64, u16); -u64 vnt_get_next_tbtt(u64, u16); -u64 vnt_get_tsf_offset(u8 byRxRate, u64 qwTSF1, u64 qwTSF2); -int vnt_radio_power_off(struct vnt_private *); -int vnt_radio_power_on(struct vnt_private *); -u8 vnt_get_pkt_type(struct vnt_private *); -void vnt_set_bss_mode(struct vnt_private *); +void vnt_set_channel(struct vnt_private *priv, u32 connection_channel); +void vnt_set_rspinf(struct vnt_private *priv, u8 bb_type); +void vnt_update_ifs(struct vnt_private *priv); +void vnt_update_top_rates(struct vnt_private *priv); +int vnt_ofdm_min_rate(struct vnt_private *priv); +void vnt_adjust_tsf(struct vnt_private *priv, u8 rx_rate, + u64 time_stamp, u64 local_tsf); +bool vnt_get_current_tsf(struct vnt_private *priv, u64 *current_tsf); +bool vnt_clear_current_tsf(struct vnt_private *priv); +void vnt_reset_next_tbtt(struct vnt_private *priv, u16 beacon_interval); +void vnt_update_next_tbtt(struct vnt_private *priv, u64 tsf, + u16 beacon_interval); +u64 vnt_get_next_tbtt(u64 tsf, u16 beacon_interval); +u64 vnt_get_tsf_offset(u8 rx_rate, u64 tsf1, u64 tsf2); +int vnt_radio_power_off(struct vnt_private *priv); +int vnt_radio_power_on(struct vnt_private *priv); +u8 vnt_get_pkt_type(struct vnt_private *priv); +void vnt_set_bss_mode(struct vnt_private *priv); #endif /* __CARD_H__ */ -- 2.20.1