From: Quytelda Kahja Date: Sat, 31 Mar 2018 06:08:14 +0000 (-0700) Subject: staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_request_t'. X-Git-Tag: v4.19~841^2~807 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3071e00c7376b5c797a7912abbd77f53035060e4;p=platform%2Fkernel%2Flinux-rpi.git staging: ks7010: Remove trailing _t from 'struct hostif_infrastructure_set_request_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 hostif_infrastructure_set_request_t' with 'struct hostif_infrastructure_set_request'. Signed-off-by: Quytelda Kahja Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 2222793..82b64fd 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -1344,7 +1344,7 @@ void hostif_ps_adhoc_set_request(struct ks_wlan_private *priv) static void hostif_infrastructure_set_request(struct ks_wlan_private *priv, int event) { - struct hostif_infrastructure_set_request_t *pp; + struct hostif_infrastructure_set_request *pp; pp = hostif_generic_request(sizeof(*pp), event); if (!pp) diff --git a/drivers/staging/ks7010/ks_hostif.h b/drivers/staging/ks7010/ks_hostif.h index aceaabe7..82ea981 100644 --- a/drivers/staging/ks7010/ks_hostif.h +++ b/drivers/staging/ks7010/ks_hostif.h @@ -335,13 +335,13 @@ struct hostif_ps_adhoc_set_request { #define AUTH_TYPE_SHARED_KEY 1 /** - * struct hostif_infrastructure_set_request_t + * struct hostif_infrastructure_set_request * @capability: bit5 : preamble * bit6 : pbcc - Not supported always 0 * bit10 : ShortSlotTime * bit13 : DSSS-OFDM - Not supported always 0 */ -struct hostif_infrastructure_set_request_t { +struct hostif_infrastructure_set_request { struct hostif_hdr header; struct hostif_request request; struct ssid ssid;