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 | |
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')
-rw-r--r-- | drivers/staging/vt6656/channel.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/dpc.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/firmware.h | 6 | ||||
-rw-r--r-- | drivers/staging/vt6656/int.h | 4 | ||||
-rw-r--r-- | drivers/staging/vt6656/key.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/mac.h | 31 | ||||
-rw-r--r-- | drivers/staging/vt6656/power.h | 6 | ||||
-rw-r--r-- | drivers/staging/vt6656/rf.h | 10 | ||||
-rw-r--r-- | drivers/staging/vt6656/rxtx.h | 8 | ||||
-rw-r--r-- | drivers/staging/vt6656/usbpipe.h | 17 |
10 files changed, 46 insertions, 42 deletions
diff --git a/drivers/staging/vt6656/channel.h b/drivers/staging/vt6656/channel.h index fcea6995fe26..62f18a959098 100644 --- a/drivers/staging/vt6656/channel.h +++ b/drivers/staging/vt6656/channel.h @@ -28,6 +28,6 @@ #include "device.h" -void vnt_init_bands(struct vnt_private *); +void vnt_init_bands(struct vnt_private *priv); #endif /* _CHANNEL_H_ */ diff --git a/drivers/staging/vt6656/dpc.h b/drivers/staging/vt6656/dpc.h index ff1850c4a927..5d0454f3af0e 100644 --- a/drivers/staging/vt6656/dpc.h +++ b/drivers/staging/vt6656/dpc.h @@ -28,7 +28,7 @@ #include "device.h" -int vnt_rx_data(struct vnt_private *, struct vnt_rcb *, +int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb, unsigned long bytes_received); #endif /* __RXTX_H__ */ diff --git a/drivers/staging/vt6656/firmware.h b/drivers/staging/vt6656/firmware.h index e2b54acb8fdb..f753019c94c9 100644 --- a/drivers/staging/vt6656/firmware.h +++ b/drivers/staging/vt6656/firmware.h @@ -28,8 +28,8 @@ #include "device.h" -int vnt_download_firmware(struct vnt_private *); -int vnt_firmware_branch_to_sram(struct vnt_private *); -int vnt_check_firmware_version(struct vnt_private *); +int vnt_download_firmware(struct vnt_private *priv); +int vnt_firmware_branch_to_sram(struct vnt_private *priv); +int vnt_check_firmware_version(struct vnt_private *priv); #endif /* __FIRMWARE_H__ */ diff --git a/drivers/staging/vt6656/int.h b/drivers/staging/vt6656/int.h index 97e55bacbb7c..b5f1b4b02ce4 100644 --- a/drivers/staging/vt6656/int.h +++ b/drivers/staging/vt6656/int.h @@ -51,7 +51,7 @@ struct vnt_interrupt_data { u8 sw[2]; } __packed; -void vnt_int_start_interrupt(struct vnt_private *); -void vnt_int_process_data(struct vnt_private *); +void vnt_int_start_interrupt(struct vnt_private *priv); +void vnt_int_process_data(struct vnt_private *priv); #endif /* __INT_H__ */ diff --git a/drivers/staging/vt6656/key.h b/drivers/staging/vt6656/key.h index 7861faf5138f..7f7da73f3a5d 100644 --- a/drivers/staging/vt6656/key.h +++ b/drivers/staging/vt6656/key.h @@ -43,7 +43,7 @@ #define VNT_KEY_ONFLY 0x8000 #define VNT_KEY_ONFLY_ALL 0x4000 -int vnt_key_init_table(struct vnt_private *); +int vnt_key_init_table(struct vnt_private *priv); int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct ieee80211_vif *vif, struct ieee80211_key_conf *key); diff --git a/drivers/staging/vt6656/mac.h b/drivers/staging/vt6656/mac.h index 4c6e610f1bc1..29f37a0ff156 100644 --- a/drivers/staging/vt6656/mac.h +++ b/drivers/staging/vt6656/mac.h @@ -364,20 +364,21 @@ struct vnt_mac_set_key { u8 key[WLAN_KEY_LEN_CCMP]; } __packed; -void vnt_mac_set_filter(struct vnt_private *, u64); -void vnt_mac_shutdown(struct vnt_private *); -void vnt_mac_set_bb_type(struct vnt_private *, u8); -void vnt_mac_disable_keyentry(struct vnt_private *, u8); -void vnt_mac_set_keyentry(struct vnt_private *, u16, u32, u32, u8 *, u8 *); -void vnt_mac_reg_bits_off(struct vnt_private *, u8, u8); -void vnt_mac_reg_bits_on(struct vnt_private *, u8, u8); -void vnt_mac_write_word(struct vnt_private *, u8, u16); -void vnt_mac_set_bssid_addr(struct vnt_private *, u8 *); -void vnt_mac_enable_protect_mode(struct vnt_private *); -void vnt_mac_disable_protect_mode(struct vnt_private *); -void vnt_mac_enable_barker_preamble_mode(struct vnt_private *); -void vnt_mac_disable_barker_preamble_mode(struct vnt_private *); -void vnt_mac_set_beacon_interval(struct vnt_private *, u16); -void vnt_mac_set_led(struct vnt_private *priv, u8, u8); +void vnt_mac_set_filter(struct vnt_private *priv, u64 mc_filter); +void vnt_mac_shutdown(struct vnt_private *priv); +void vnt_mac_set_bb_type(struct vnt_private *priv, u8 type); +void vnt_mac_disable_keyentry(struct vnt_private *priv, u8 entry_idx); +void vnt_mac_set_keyentry(struct vnt_private *priv, u16 key_ctl, u32 entry_idx, + u32 key_idx, u8 *addr, u8 *key); +void vnt_mac_reg_bits_off(struct vnt_private *priv, u8 reg_ofs, u8 bits); +void vnt_mac_reg_bits_on(struct vnt_private *priv, u8 reg_ofs, u8 bits); +void vnt_mac_write_word(struct vnt_private *priv, u8 reg_ofs, u16 word); +void vnt_mac_set_bssid_addr(struct vnt_private *priv, u8 *addr); +void vnt_mac_enable_protect_mode(struct vnt_private *priv); +void vnt_mac_disable_protect_mode(struct vnt_private *priv); +void vnt_mac_enable_barker_preamble_mode(struct vnt_private *priv); +void vnt_mac_disable_barker_preamble_mode(struct vnt_private *priv); +void vnt_mac_set_beacon_interval(struct vnt_private *priv, u16 interval); +void vnt_mac_set_led(struct vnt_private *privpriv, u8 state, u8 led); #endif /* __MAC_H__ */ diff --git a/drivers/staging/vt6656/power.h b/drivers/staging/vt6656/power.h index 9d1ebb695f9d..859e75fc77ac 100644 --- a/drivers/staging/vt6656/power.h +++ b/drivers/staging/vt6656/power.h @@ -28,8 +28,8 @@ #define C_PWBT 1000 /* micro sec. power up before TBTT */ -void vnt_disable_power_saving(struct vnt_private *); -void vnt_enable_power_saving(struct vnt_private *, u16); -int vnt_next_tbtt_wakeup(struct vnt_private *); +void vnt_disable_power_saving(struct vnt_private *priv); +void vnt_enable_power_saving(struct vnt_private *priv, u16 listen_interval); +int vnt_next_tbtt_wakeup(struct vnt_private *priv); #endif /* __POWER_H__ */ diff --git a/drivers/staging/vt6656/rf.h b/drivers/staging/vt6656/rf.h index c3d4f06d65f4..c907a18047d2 100644 --- a/drivers/staging/vt6656/rf.h +++ b/drivers/staging/vt6656/rf.h @@ -50,10 +50,10 @@ #define VNT_RF_MAX_POWER 0x3f #define VNT_RF_REG_LEN 0x17 /* 24 bit length */ -int vnt_rf_write_embedded(struct vnt_private *, u32); -int vnt_rf_setpower(struct vnt_private *, u32, u32); -int vnt_rf_set_txpower(struct vnt_private *, u8, u32); -void vnt_rf_rssi_to_dbm(struct vnt_private *, u8, long *); -void vnt_rf_table_download(struct vnt_private *); +int vnt_rf_write_embedded(struct vnt_private *priv, u32 data); +int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel); +int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate); +void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm); +void vnt_rf_table_download(struct vnt_private *priv); #endif /* __RF_H__ */ diff --git a/drivers/staging/vt6656/rxtx.h b/drivers/staging/vt6656/rxtx.h index 4a79c404275b..1ba8647bea86 100644 --- a/drivers/staging/vt6656/rxtx.h +++ b/drivers/staging/vt6656/rxtx.h @@ -249,9 +249,9 @@ struct vnt_beacon_buffer { struct ieee80211_mgmt mgmt_hdr; } __packed; -int vnt_tx_packet(struct vnt_private *, struct sk_buff *); -int vnt_beacon_make(struct vnt_private *, struct ieee80211_vif *); -int vnt_beacon_enable(struct vnt_private *, struct ieee80211_vif *, - struct ieee80211_bss_conf *); +int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb); +int vnt_beacon_make(struct vnt_private *priv, struct ieee80211_vif *vif); +int vnt_beacon_enable(struct vnt_private *priv, struct ieee80211_vif *vif, + struct ieee80211_bss_conf *conf); #endif /* __RXTX_H__ */ 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__ */ |