aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/hfa384x.h
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2016-09-28 20:20:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-02 17:03:56 +0200
commitb3fd890e1b4fc2fb0ff72c3663ccff18ba47046b (patch)
tree608137bddae899d6ec31f7ca087ae57039ffee85 /drivers/staging/wlan-ng/hfa384x.h
parentstaging: wlang-ng: avoid new typedef: hfa384x_cmdresult_t (diff)
downloadlinux-dev-b3fd890e1b4fc2fb0ff72c3663ccff18ba47046b.tar.xz
linux-dev-b3fd890e1b4fc2fb0ff72c3663ccff18ba47046b.zip
staging: wlang-ng: avoid new typedef: hfa384x_rridresult_t
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_rridresult_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 a1a347c08c48..9390fdde491c 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -1152,11 +1152,11 @@ struct hfa384x_cmdresult {
/* The following hfa384x_* structures are arguments to
* the usercb() for the different CTLX types.
*/
-typedef struct hfa384x_rridresult {
+struct hfa384x_rridresult {
u16 rid;
const void *riddata;
unsigned int riddata_len;
-} hfa384x_rridresult_t;
+};
enum ctlx_state {
CTLX_START = 0, /* Start state, not queued */