Commit 3d4e9e57 authored by Jesper Juhl's avatar Jesper Juhl Committed by Greg Kroah-Hartman

staging: csr: Fix up version.h includes

Include version.h where actually needed, remove where unneeded.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a6c42258
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
*****************************************************************************/ *****************************************************************************/
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/version.h>
#include <linux/module.h> #include <linux/module.h>
#include "csr_panic.h" #include "csr_panic.h"
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
/* /*
* Porting Notes: * Porting Notes:
* Part of this file contains an example for how to glue the OS layer * Part of this file contains an example for how to glue the OS layer
...@@ -37,6 +35,7 @@ ...@@ -37,6 +35,7 @@
#include <linux/poll.h> #include <linux/poll.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <linux/version.h>
#include "csr_wifi_hip_unifiversion.h" #include "csr_wifi_hip_unifiversion.h"
#include "unifi_priv.h" #include "unifi_priv.h"
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/version.h>
#include "csr_wifi_hip_unifi.h" #include "csr_wifi_hip_unifi.h"
#include "csr_wifi_hip_unifiversion.h" #include "csr_wifi_hip_unifiversion.h"
...@@ -38,7 +39,6 @@ ...@@ -38,7 +39,6 @@
#include "unifiio.h" #include "unifiio.h"
#include "unifi_priv.h" #include "unifi_priv.h"
/* /*
* Array of pointers to context structs for unifi devices that are present. * Array of pointers to context structs for unifi devices that are present.
* The index in the array corresponds to the wlan interface number * The index in the array corresponds to the wlan interface number
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
#include <linux/version.h>
#include "unifi_priv.h" #include "unifi_priv.h"
#ifdef UNIFI_SNIFF_ARPHRD #ifdef UNIFI_SNIFF_ARPHRD
...@@ -23,8 +24,6 @@ ...@@ -23,8 +24,6 @@
#define ETH_P_80211_RAW ETH_P_ALL #define ETH_P_80211_RAW ETH_P_ALL
#endif #endif
/* /*
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
* uf_start_sniff * uf_start_sniff
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
/* /*
* Porting Notes: * Porting Notes:
* This file implements the data plane of the UniFi linux driver. * This file implements the data plane of the UniFi linux driver.
...@@ -48,7 +47,7 @@ ...@@ -48,7 +47,7 @@
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/semaphore.h> #include <linux/semaphore.h>
#include <linux/version.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include "csr_wifi_hip_unifi.h" #include "csr_wifi_hip_unifi.h"
#include "csr_wifi_hip_conversions.h" #include "csr_wifi_hip_conversions.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/gfp.h> #include <linux/gfp.h>
#include <linux/version.h>
#include <linux/mmc/core.h> #include <linux/mmc/core.h>
#include <linux/mmc/card.h> #include <linux/mmc/card.h>
#include <linux/mmc/host.h> #include <linux/mmc/host.h>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
*/ */
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/version.h>
#include "unifi_priv.h" #include "unifi_priv.h"
#include "csr_wifi_hip_unifi.h" #include "csr_wifi_hip_unifi.h"
#include "csr_wifi_hip_conversions.h" #include "csr_wifi_hip_conversions.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
#include <linux/version.h>
#include "csr_wifi_hip_unifiversion.h" #include "csr_wifi_hip_unifiversion.h"
#include "unifi_priv.h" #include "unifi_priv.h"
#include "csr_wifi_hip_conversions.h" #include "csr_wifi_hip_conversions.h"
...@@ -21,7 +22,6 @@ ...@@ -21,7 +22,6 @@
#include "csr_wifi_sme_sef.h" #include "csr_wifi_sme_sef.h"
#endif #endif
/* /*
* This file implements the SME SYS API and contains the following functions: * This file implements the SME SYS API and contains the following functions:
* CsrWifiRouterCtrlMediaStatusReqHandler() * CsrWifiRouterCtrlMediaStatusReqHandler()
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
* *
* *************************************************************************** * ***************************************************************************
*/ */
#include <linux/version.h>
#include "csr_wifi_hip_unifi.h" #include "csr_wifi_hip_unifi.h"
#include "csr_wifi_hip_conversions.h" #include "csr_wifi_hip_conversions.h"
#include "unifi_priv.h" #include "unifi_priv.h"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
*/ */
#include <linux/version.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/etherdevice.h> #include <linux/etherdevice.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#define __LINUX_UNIFI_WEXT_H__ 1 #define __LINUX_UNIFI_WEXT_H__ 1
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/version.h>
#include <net/iw_handler.h> #include <net/iw_handler.h>
#include "csr_wifi_sme_prim.h" #include "csr_wifi_sme_prim.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment