From 11d404cb56ecd53bb23499897fbe7be1a9ac4827 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sat, 24 Nov 2012 14:19:34 +0000 Subject: [PATCH] staging: vt6656: fix headers and add cfg80211. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/80211mgr.c | 2 +- drivers/staging/vt6656/device.h | 39 ++++++++++--------------------- drivers/staging/vt6656/key.c | 2 +- drivers/staging/vt6656/wpa2.c | 2 +- 4 files changed, 15 insertions(+), 30 deletions(-) diff --git a/drivers/staging/vt6656/80211mgr.c b/drivers/staging/vt6656/80211mgr.c index 39f98423dc02..e6ced95e6fa7 100644 --- a/drivers/staging/vt6656/80211mgr.c +++ b/drivers/staging/vt6656/80211mgr.c @@ -52,11 +52,11 @@ * */ +#include "device.h" #include "tmacro.h" #include "tether.h" #include "80211mgr.h" #include "80211hdr.h" -#include "device.h" #include "wpa.h" /*--------------------- Static Definitions -------------------------*/ diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 2595ac51b203..9a0490077da7 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -30,43 +30,28 @@ #define __DEVICE_H__ #include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include #include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include -#include -#include -#include //James -#include -#include -#include +#include +#include +#include +#include #include -#include -#include -#include -#include + + #ifdef SIOCETHTOOL #define DEVICE_ETHTOOL_IOCTL_SUPPORT #include #else #undef DEVICE_ETHTOOL_IOCTL_SUPPORT #endif -/* Include Wireless Extension definition and check version - Jean II */ -#include -#include // New driver API //please copy below macro to driver_event.c for API #define RT_INSMOD_EVENT_FLAG 0x0101 diff --git a/drivers/staging/vt6656/key.c b/drivers/staging/vt6656/key.c index bf24adb7f29c..8c78b86b5c80 100644 --- a/drivers/staging/vt6656/key.c +++ b/drivers/staging/vt6656/key.c @@ -36,9 +36,9 @@ * */ +#include "mac.h" #include "tmacro.h" #include "key.h" -#include "mac.h" #include "rndis.h" #include "control.h" diff --git a/drivers/staging/vt6656/wpa2.c b/drivers/staging/vt6656/wpa2.c index c0926976627d..616e24dcf42b 100644 --- a/drivers/staging/vt6656/wpa2.c +++ b/drivers/staging/vt6656/wpa2.c @@ -31,8 +31,8 @@ * */ -#include "wpa2.h" #include "device.h" +#include "wpa2.h" /*--------------------- Static Definitions -------------------------*/ static int msglevel =MSG_LEVEL_INFO; -- 2.20.1