aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2016-09-28 20:19:22 +0200
committerGreg Kroah-Hartman <[email protected]>2016-10-02 17:03:52 +0200
commit2f1014f7ce7121bb8508a153c47a4a2906d93ac3 (patch)
tree5fec4cc0e2638e4f11fe1888b7c09d24b0fca50c
parentf69de9e3fc07571f0c05041dafb839274949fe77 (diff)
staging: wlang-ng: avoid new typedef: hfa384x_usb_txfrm_t
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_usb_txfrm_t Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/wlan-ng/hfa384x.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 29d9bc54d801..2d6f6a9882f6 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -808,10 +808,10 @@ struct hfa384x_InfFrame {
/*------------------------------------*/
/* Request (bulk OUT) packet contents */
-typedef struct hfa384x_usb_txfrm {
+struct hfa384x_usb_txfrm {
struct hfa384x_tx_frame desc;
u8 data[WLAN_DATA_MAXLEN];
-} __packed hfa384x_usb_txfrm_t;
+} __packed;
typedef struct hfa384x_usb_cmdreq {
u16 type;
@@ -905,7 +905,7 @@ typedef struct hfa384x_usb_error {
typedef union hfa384x_usbout {
__le16 type;
- hfa384x_usb_txfrm_t txfrm;
+ struct hfa384x_usb_txfrm txfrm;
hfa384x_usb_cmdreq_t cmdreq;
hfa384x_usb_wridreq_t wridreq;
hfa384x_usb_rridreq_t rridreq;
@@ -916,7 +916,7 @@ typedef union hfa384x_usbout {
typedef union hfa384x_usbin {
__le16 type;
hfa384x_usb_rxfrm_t rxfrm;
- hfa384x_usb_txfrm_t txfrm;
+ struct hfa384x_usb_txfrm txfrm;
hfa384x_usb_infofrm_t infofrm;
hfa384x_usb_cmdresp_t cmdresp;
hfa384x_usb_wridresp_t wridresp;