summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/prism2sta.c
diff options
context:
space:
mode:
authorSergio Paracuellos2016-09-28 20:19:11 +0200
committerGreg Kroah-Hartman2016-10-02 17:00:48 +0200
commit1bc4292aaa07347f0870b6690814b4e0a3a0c281 (patch)
tree87720b1b12747de0ae937f67bcbad870efd53a0b /drivers/staging/wlan-ng/prism2sta.c
parentstaging: wlang-ng: avoid new typedef: hfa384x_ScanResult_t (diff)
downloadkernel-qcow2-linux-1bc4292aaa07347f0870b6690814b4e0a3a0c281.tar.gz
kernel-qcow2-linux-1bc4292aaa07347f0870b6690814b4e0a3a0c281.tar.xz
kernel-qcow2-linux-1bc4292aaa07347f0870b6690814b4e0a3a0c281.zip
staging: wlang-ng: avoid new typedef: hfa384x_ChInfoResultSub_t
This patch fixes the following checkpatch.pl warning in hfa384x.h: WARNING: do not add new typedefs It applies for typedef hfa384x_ChInfoResultSub_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/prism2sta.c')
-rw-r--r--drivers/staging/wlan-ng/prism2sta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index dfb7a73053f6..7e1c3384c4fa 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -1136,8 +1136,8 @@ static void prism2sta_inf_chinforesults(struct wlandevice *wlandev,
le16_to_cpu(inf->info.chinforesult.scanchannels);
for (i = 0, n = 0; i < HFA384x_CHINFORESULT_MAX; i++) {
- hfa384x_ChInfoResultSub_t *result;
- hfa384x_ChInfoResultSub_t *chinforesult;
+ struct hfa384x_ChInfoResultSub *result;
+ struct hfa384x_ChInfoResultSub *chinforesult;
int chan;
if (!(hw->channel_info.results.scanchannels & (1 << i)))