aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/p80211types.h
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2016-09-25 15:34:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-25 19:53:06 +0200
commitac033ec9f71a7107b64390fd9b52f799a22acedf (patch)
tree0f71d85458610cb59e081ee9af873392394fe488 /drivers/staging/wlan-ng/p80211types.h
parentstaging: wlan-ng: avoid new typedef: p80211item_t (diff)
downloadlinux-dev-ac033ec9f71a7107b64390fd9b52f799a22acedf.tar.xz
linux-dev-ac033ec9f71a7107b64390fd9b52f799a22acedf.zip
staging: wlan-ng: avoid new typedef: p80211itemd_t
This patch fixes the following checkpatch.pl warning in p80211types.h: WARNING: do not add new typedefs It applies for typedef p80211itemd_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/p80211types.h')
-rw-r--r--drivers/staging/wlan-ng/p80211types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/p80211types.h b/drivers/staging/wlan-ng/p80211types.h
index 65400445543d..57a65a83e3b5 100644
--- a/drivers/staging/wlan-ng/p80211types.h
+++ b/drivers/staging/wlan-ng/p80211types.h
@@ -262,12 +262,12 @@ struct p80211item {
} __packed;
/* prototype template w/ data item */
-typedef struct p80211itemd {
+struct p80211itemd {
u32 did;
u16 status;
u16 len;
u8 data[0];
-} __packed p80211itemd_t;
+} __packed;
/* message data item for int, BOUNDEDINT, ENUMINT */
typedef struct p80211item_uint32 {