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 mic_failure_t' with 'struct mic_failure'. Signed-off-by: Quytelda Kahja <quytelda@xxxxxxxxxxx> --- drivers/staging/ks7010/ks_hostif.c | 2 +- drivers/staging/ks7010/ks_wlan.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index d8b40fd83b6b..fbe18ddf3ea0 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -314,7 +314,7 @@ int hostif_data_indication_wpa(struct ks_wlan_private *priv, unsigned char recv_mic[8]; char buf[128]; unsigned long now; - struct mic_failure_t *mic_failure; + struct mic_failure *mic_failure; struct michael_mic_t michael_mic; union iwreq_data wrqu; unsigned int key_index = auth_type - 1; diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index 2458dbba66a0..c3e61021a75a 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -357,7 +357,7 @@ struct wpa_key { #define WPA_KEY_INDEX_MAX 4 #define WPA_RX_SEQ_LEN 6 -struct mic_failure_t { +struct mic_failure { u16 failure; /* MIC Failure counter 0 or 1 or 2 */ u16 counter; /* 1sec counter 0-60 */ u32 last_failure_time; @@ -375,7 +375,7 @@ struct wpa_status_t { int txkey; struct wpa_key key[WPA_KEY_INDEX_MAX]; struct scan_ext scan_ext; - struct mic_failure_t mic_failure; + struct mic_failure mic_failure; }; #include <linux/list.h> -- 2.16.3 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel