From: Quytelda Kahja Date: Sat, 31 Mar 2018 06:08:36 +0000 (-0700) Subject: staging: ks7010: Remove trailing _t from 'struct local_gain_t'. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=431df21a031f4ab45f77c67ca1ac30951afa8665;p=linux.git staging: ks7010: Remove trailing _t from 'struct local_gain_t'. The "_t" suffix is not needed for structure names in this driver, and is a reflection of an older typedef system that is no longer in place. Replace all occurences of 'struct local_gain_t' with 'struct local_gain'. Signed-off-by: Quytelda Kahja Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index 57b21d3a24354..e6c4a0fece54a 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -249,7 +249,7 @@ struct local_aplist { struct local_ap ap[LOCAL_APLIST_MAX + 1]; }; -struct local_gain_t { +struct local_gain { u8 tx_mode; u8 rx_mode; u8 tx_gain; @@ -471,7 +471,7 @@ struct ks_wlan_private { u8 scan_ssid_len; u8 scan_ssid[IW_ESSID_MAX_SIZE + 1]; - struct local_gain_t gain; + struct local_gain gain; #ifdef WPS struct net_device *l2_dev; int l2_fd;