summaryrefslogtreecommitdiff
path: root/drivers/staging/wlan-ng/hfa384x.h
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2016-09-28 20:20:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-02 17:03:56 +0200
commite2f503c40dcc4d2a772612dc9e4e4c6373bc1f73 (patch)
treeefea905cf6182eba20adddfe1fcb3de762292836 /drivers/staging/wlan-ng/hfa384x.h
parent3df38936a79589af342060b33ec3139bb09f95cc (diff)
staging: wlang-ng: avoid new typedef: hfa384x_metacmd_t
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_metacmd_t Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/hfa384x.h')
-rw-r--r--drivers/staging/wlan-ng/hfa384x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 736ac31d3916..b97099d1f28e 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1206,7 +1206,7 @@ struct hfa384x_usbctlxq {
struct list_head reapable;
};
-typedef struct hfa484x_metacmd {
+struct hfa384x_metacmd {
u16 cmd;
u16 parm0;
@@ -1214,7 +1214,7 @@ typedef struct hfa484x_metacmd {
u16 parm2;
struct hfa384x_cmdresult result;
-} hfa384x_metacmd_t;
+};
#define MAX_GRP_ADDR 32
#define WLAN_COMMENT_MAX 80 /* Max. length of user comment string. */