diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-28 21:19:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-02 18:03:52 +0300 |
commit | a988c9f3ea35e3a6b532ebe30d2724c55b427c9d (patch) | |
tree | 4c27d3de2de914045cc589adfa2e856e5326e543 /drivers/staging/wlan-ng/hfa384x_usb.c | |
parent | 2c8079dedc1cefc7098f5071f7e4b96a2bddac80 (diff) | |
download | linux-a988c9f3ea35e3a6b532ebe30d2724c55b427c9d.tar.xz |
staging: wlang-ng: avoid new typedef: hfa384x_usb_rridresp_t
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs
It applies for typedef hfa384x_usb_rridresp_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_usb.c')
-rw-r--r-- | drivers/staging/wlan-ng/hfa384x_usb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 7d09f250c0be..c21c591973f6 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/drivers/staging/wlan-ng/hfa384x_usb.c @@ -216,7 +216,7 @@ usbctlx_get_status(const struct hfa384x_usb_statusresp *cmdresp, hfa384x_cmdresult_t *result); static void -usbctlx_get_rridresult(const hfa384x_usb_rridresp_t *rridresp, +usbctlx_get_rridresult(const struct hfa384x_usb_rridresp *rridresp, hfa384x_rridresult_t *result); /*---------------------------------------------------*/ @@ -636,7 +636,7 @@ usbctlx_get_status(const struct hfa384x_usb_statusresp *cmdresp, } static void -usbctlx_get_rridresult(const hfa384x_usb_rridresp_t *rridresp, +usbctlx_get_rridresult(const struct hfa384x_usb_rridresp *rridresp, hfa384x_rridresult_t *result) { result->rid = le16_to_cpu(rridresp->rid); @@ -685,7 +685,7 @@ static inline struct usbctlx_completor *init_cmd_completor( struct usbctlx_rrid_completor { struct usbctlx_completor head; - const hfa384x_usb_rridresp_t *rridresp; + const struct hfa384x_usb_rridresp *rridresp; void *riddata; unsigned int riddatalen; }; @@ -713,7 +713,7 @@ static int usbctlx_rrid_completor_fn(struct usbctlx_completor *head) static inline struct usbctlx_completor *init_rrid_completor( struct usbctlx_rrid_completor *completor, - const hfa384x_usb_rridresp_t + const struct hfa384x_usb_rridresp *rridresp, void *riddata, unsigned int riddatalen) |