summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-20 13:07:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-20 13:07:13 -0700
commit980b5a2b0d90294a8b56cf999ecd1a5c31e5a173 (patch)
tree8fd2c81a2d0b9cc230e95c91a951a75de20f91f6 /drivers/staging
parentb6b5244e4f1ccf838cce8499732449f26c119b88 (diff)
staging: csr: remove csr_types.h
Only thing left in here is the TRUE/FALSE #defines, so move them to csr_macro.h and remove the file. Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com> Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com> Cc: Riku Mettälä <riku.mettala@bluegiga.com> Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/csr/csr_formatted_io.c1
-rw-r--r--drivers/staging/csr/csr_formatted_io.h2
-rw-r--r--drivers/staging/csr/csr_framework_ext.c1
-rw-r--r--drivers/staging/csr/csr_framework_ext.h1
-rw-r--r--drivers/staging/csr/csr_framework_ext_types.h2
-rw-r--r--drivers/staging/csr/csr_lib.h1
-rw-r--r--drivers/staging/csr/csr_log.h1
-rw-r--r--drivers/staging/csr/csr_log_configure.h1
-rw-r--r--drivers/staging/csr/csr_log_text.h1
-rw-r--r--drivers/staging/csr/csr_macro.h5
-rw-r--r--drivers/staging/csr/csr_msgconv.c2
-rw-r--r--drivers/staging/csr/csr_msgconv.h2
-rw-r--r--drivers/staging/csr/csr_panic.c1
-rw-r--r--drivers/staging/csr/csr_panic.h2
-rw-r--r--drivers/staging/csr/csr_pmem.h2
-rw-r--r--drivers/staging/csr/csr_prim_defs.h2
-rw-r--r--drivers/staging/csr/csr_result.h2
-rw-r--r--drivers/staging/csr/csr_sched.h2
-rw-r--r--drivers/staging/csr/csr_sdio.h1
-rw-r--r--drivers/staging/csr/csr_serialize_primitive_types.c1
-rw-r--r--drivers/staging/csr/csr_time.c1
-rw-r--r--drivers/staging/csr/csr_time.h2
-rw-r--r--drivers/staging/csr/csr_types.h33
-rw-r--r--drivers/staging/csr/csr_unicode.h2
-rw-r--r--drivers/staging/csr/csr_utf16.c1
-rw-r--r--drivers/staging/csr/csr_util.c1
-rw-r--r--drivers/staging/csr/csr_util.h3
-rw-r--r--drivers/staging/csr/csr_wifi_common.h2
-rw-r--r--drivers/staging/csr/csr_wifi_fsm.h1
-rw-r--r--drivers/staging/csr/csr_wifi_fsm_event.h1
-rw-r--r--drivers/staging/csr/csr_wifi_fsm_types.h2
-rw-r--r--drivers/staging/csr/csr_wifi_hip_chiphelper.c2
-rw-r--r--drivers/staging/csr/csr_wifi_hip_chiphelper.h2
-rw-r--r--drivers/staging/csr/csr_wifi_hip_signals.h2
-rw-r--r--drivers/staging/csr/csr_wifi_hip_unifi.h1
-rw-r--r--drivers/staging/csr/csr_wifi_lib.h1
-rw-r--r--drivers/staging/csr/csr_wifi_msgconv.h1
-rw-r--r--drivers/staging/csr/csr_wifi_nme_ap_lib.h1
-rw-r--r--drivers/staging/csr/csr_wifi_nme_ap_prim.h1
-rw-r--r--drivers/staging/csr/csr_wifi_nme_ap_serialize.h1
-rw-r--r--drivers/staging/csr/csr_wifi_nme_lib.h1
-rw-r--r--drivers/staging/csr/csr_wifi_nme_prim.h2
-rw-r--r--drivers/staging/csr/csr_wifi_nme_serialize.h1
-rw-r--r--drivers/staging/csr/csr_wifi_nme_task.h2
-rw-r--r--drivers/staging/csr/csr_wifi_private_common.h2
-rw-r--r--drivers/staging/csr/csr_wifi_result.h1
-rw-r--r--drivers/staging/csr/csr_wifi_router_ctrl_lib.h1
-rw-r--r--drivers/staging/csr/csr_wifi_router_ctrl_prim.h2
-rw-r--r--drivers/staging/csr/csr_wifi_router_ctrl_serialize.h1
-rw-r--r--drivers/staging/csr/csr_wifi_router_lib.h1
-rw-r--r--drivers/staging/csr/csr_wifi_router_prim.h2
-rw-r--r--drivers/staging/csr/csr_wifi_router_serialize.h1
-rw-r--r--drivers/staging/csr/csr_wifi_router_task.h1
-rw-r--r--drivers/staging/csr/csr_wifi_router_transport.c1
-rw-r--r--drivers/staging/csr/csr_wifi_serialize_primitive_types.c1
-rw-r--r--drivers/staging/csr/csr_wifi_sme_ap_lib.h1
-rw-r--r--drivers/staging/csr/csr_wifi_sme_ap_prim.h1
-rw-r--r--drivers/staging/csr/csr_wifi_sme_lib.h1
-rw-r--r--drivers/staging/csr/csr_wifi_sme_prim.h2
-rw-r--r--drivers/staging/csr/csr_wifi_sme_serialize.h1
-rw-r--r--drivers/staging/csr/csr_wifi_sme_task.h1
-rw-r--r--drivers/staging/csr/unifiio.h1
62 files changed, 22 insertions, 100 deletions
diff --git a/drivers/staging/csr/csr_formatted_io.c b/drivers/staging/csr/csr_formatted_io.c
index d26fd78c2820..51fb988a587a 100644
--- a/drivers/staging/csr/csr_formatted_io.c
+++ b/drivers/staging/csr/csr_formatted_io.c
@@ -8,7 +8,6 @@
*****************************************************************************/
-#include "csr_types.h"
#include "csr_formatted_io.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_formatted_io.h b/drivers/staging/csr/csr_formatted_io.h
index c87f637e2092..2e238cb98d51 100644
--- a/drivers/staging/csr/csr_formatted_io.h
+++ b/drivers/staging/csr/csr_formatted_io.h
@@ -14,7 +14,7 @@
extern "C" {
#endif
-#include "csr_types.h"
+#include <linux/types.h>
s32 CsrSnprintf(char *dest, size_t n, const char *fmt, ...);
diff --git a/drivers/staging/csr/csr_framework_ext.c b/drivers/staging/csr/csr_framework_ext.c
index 6b9ac9280980..7a0d660007fd 100644
--- a/drivers/staging/csr/csr_framework_ext.c
+++ b/drivers/staging/csr/csr_framework_ext.c
@@ -28,7 +28,6 @@
#include <linux/bitops.h>
-#include "csr_types.h"
#include "csr_framework_ext.h"
#include "csr_panic.h"
diff --git a/drivers/staging/csr/csr_framework_ext.h b/drivers/staging/csr/csr_framework_ext.h
index 58cc22c9fcf7..46689c173c6f 100644
--- a/drivers/staging/csr/csr_framework_ext.h
+++ b/drivers/staging/csr/csr_framework_ext.h
@@ -10,7 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
#include "csr_result.h"
#include "csr_framework_ext_types.h"
diff --git a/drivers/staging/csr/csr_framework_ext_types.h b/drivers/staging/csr/csr_framework_ext_types.h
index b1ff72f2ccf5..57194ee911ea 100644
--- a/drivers/staging/csr/csr_framework_ext_types.h
+++ b/drivers/staging/csr/csr_framework_ext_types.h
@@ -10,8 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
-
#ifdef __KERNEL__
#include <linux/kthread.h>
#include <linux/semaphore.h>
diff --git a/drivers/staging/csr/csr_lib.h b/drivers/staging/csr/csr_lib.h
index 841d7eceed21..b1a57d5d06f9 100644
--- a/drivers/staging/csr/csr_lib.h
+++ b/drivers/staging/csr/csr_lib.h
@@ -10,7 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
#include "csr_prim_defs.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_log.h b/drivers/staging/csr/csr_log.h
index 2619d2229ec0..b2808569f8de 100644
--- a/drivers/staging/csr/csr_log.h
+++ b/drivers/staging/csr/csr_log.h
@@ -10,7 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
#include "csr_sched.h"
#include "csr_panic.h"
#include "csr_prim_defs.h"
diff --git a/drivers/staging/csr/csr_log_configure.h b/drivers/staging/csr/csr_log_configure.h
index 48e8a2257161..8842e4bf4611 100644
--- a/drivers/staging/csr/csr_log_configure.h
+++ b/drivers/staging/csr/csr_log_configure.h
@@ -10,7 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
#include "csr_log.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_log_text.h b/drivers/staging/csr/csr_log_text.h
index 9fc2aa2bb41d..9fe6c90244c4 100644
--- a/drivers/staging/csr/csr_log_text.h
+++ b/drivers/staging/csr/csr_log_text.h
@@ -10,7 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
#include "csr_log_configure.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_macro.h b/drivers/staging/csr/csr_macro.h
index 22405cfcf144..57cbfcb0619b 100644
--- a/drivers/staging/csr/csr_macro.h
+++ b/drivers/staging/csr/csr_macro.h
@@ -10,12 +10,15 @@
*****************************************************************************/
-#include "csr_types.h"
+#include <linux/types.h>
#ifdef __cplusplus
extern "C" {
#endif
+#define FALSE (0)
+#define TRUE (1)
+
/*------------------------------------------------------------------*/
/* Bits - intended to operate on u32 values */
/*------------------------------------------------------------------*/
diff --git a/drivers/staging/csr/csr_msgconv.c b/drivers/staging/csr/csr_msgconv.c
index ad01958f3683..a2e08428a119 100644
--- a/drivers/staging/csr/csr_msgconv.c
+++ b/drivers/staging/csr/csr_msgconv.c
@@ -9,7 +9,7 @@
*****************************************************************************/
#include <linux/module.h>
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_pmem.h"
#include "csr_panic.h"
#include "csr_sched.h"
diff --git a/drivers/staging/csr/csr_msgconv.h b/drivers/staging/csr/csr_msgconv.h
index 5aefda312a49..2e1aad8a3895 100644
--- a/drivers/staging/csr/csr_msgconv.h
+++ b/drivers/staging/csr/csr_msgconv.h
@@ -11,7 +11,7 @@
*****************************************************************************/
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_unicode.h"
diff --git a/drivers/staging/csr/csr_panic.c b/drivers/staging/csr/csr_panic.c
index 0b78a725ceec..353a829bb74c 100644
--- a/drivers/staging/csr/csr_panic.c
+++ b/drivers/staging/csr/csr_panic.c
@@ -12,7 +12,6 @@
#include <linux/version.h>
#include <linux/module.h>
-#include "csr_types.h"
#include "csr_panic.h"
void CsrPanic(u8 tech, u16 reason, const char *p)
diff --git a/drivers/staging/csr/csr_panic.h b/drivers/staging/csr/csr_panic.h
index e993baf5058d..37989fc15bbe 100644
--- a/drivers/staging/csr/csr_panic.h
+++ b/drivers/staging/csr/csr_panic.h
@@ -9,8 +9,6 @@
on the license terms.
*****************************************************************************/
-#include "csr_types.h"
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/drivers/staging/csr/csr_pmem.h b/drivers/staging/csr/csr_pmem.h
index 7962815a65c4..36adf22fddd9 100644
--- a/drivers/staging/csr/csr_pmem.h
+++ b/drivers/staging/csr/csr_pmem.h
@@ -10,7 +10,7 @@
*****************************************************************************/
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_util.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_prim_defs.h b/drivers/staging/csr/csr_prim_defs.h
index 7d47578f18ef..6a7f73dbb706 100644
--- a/drivers/staging/csr/csr_prim_defs.h
+++ b/drivers/staging/csr/csr_prim_defs.h
@@ -9,8 +9,6 @@
on the license terms.
*****************************************************************************/
-#include "csr_types.h"
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/drivers/staging/csr/csr_result.h b/drivers/staging/csr/csr_result.h
index 68fb7599bb83..c7c36d6b59ef 100644
--- a/drivers/staging/csr/csr_result.h
+++ b/drivers/staging/csr/csr_result.h
@@ -10,8 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/drivers/staging/csr/csr_sched.h b/drivers/staging/csr/csr_sched.h
index 663fe5926e74..e42fca9a859f 100644
--- a/drivers/staging/csr/csr_sched.h
+++ b/drivers/staging/csr/csr_sched.h
@@ -9,7 +9,7 @@
on the license terms.
*****************************************************************************/
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_time.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_sdio.h b/drivers/staging/csr/csr_sdio.h
index 861604de6333..f0cda84f6a00 100644
--- a/drivers/staging/csr/csr_sdio.h
+++ b/drivers/staging/csr/csr_sdio.h
@@ -10,7 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
#include "csr_result.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_serialize_primitive_types.c b/drivers/staging/csr/csr_serialize_primitive_types.c
index 169d6bcd42db..5fb026c2710b 100644
--- a/drivers/staging/csr/csr_serialize_primitive_types.c
+++ b/drivers/staging/csr/csr_serialize_primitive_types.c
@@ -9,7 +9,6 @@
*****************************************************************************/
#include <linux/module.h>
-#include "csr_types.h"
#include "csr_prim_defs.h"
#include "csr_msgconv.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_time.c b/drivers/staging/csr/csr_time.c
index 9e5aa9002b66..4d836749d6bd 100644
--- a/drivers/staging/csr/csr_time.c
+++ b/drivers/staging/csr/csr_time.c
@@ -20,7 +20,6 @@
#include <linux/time.h>
#include <linux/module.h>
-#include "csr_types.h"
#include "csr_time.h"
CsrTime CsrTimeGet(CsrTime *high)
diff --git a/drivers/staging/csr/csr_time.h b/drivers/staging/csr/csr_time.h
index 286b2895915d..09eeeee42e9f 100644
--- a/drivers/staging/csr/csr_time.h
+++ b/drivers/staging/csr/csr_time.h
@@ -10,7 +10,7 @@
*****************************************************************************/
-#include "csr_types.h"
+#include <linux/types.h>
#ifdef __cplusplus
extern "C" {
diff --git a/drivers/staging/csr/csr_types.h b/drivers/staging/csr/csr_types.h
deleted file mode 100644
index 7018c0a708d2..000000000000
--- a/drivers/staging/csr/csr_types.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef CSR_TYPES_H__
-#define CSR_TYPES_H__
-/*****************************************************************************
-
- (c) Cambridge Silicon Radio Limited 2010
- All rights reserved and confidential information of CSR
-
- Refer to LICENSE.txt included with this source for details
- on the license terms.
-
-*****************************************************************************/
-
-#include <linux/stddef.h>
-#include <linux/kernel.h>
-#include <linux/types.h>
-#include <linux/string.h>
-#include <asm/byteorder.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#undef FALSE
-#define FALSE (0)
-
-#undef TRUE
-#define TRUE (1)
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/drivers/staging/csr/csr_unicode.h b/drivers/staging/csr/csr_unicode.h
index 701aae8651ec..44d7fd95a6b5 100644
--- a/drivers/staging/csr/csr_unicode.h
+++ b/drivers/staging/csr/csr_unicode.h
@@ -10,8 +10,6 @@
*****************************************************************************/
-#include "csr_types.h"
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/drivers/staging/csr/csr_utf16.c b/drivers/staging/csr/csr_utf16.c
index c1c3b89c285e..46bd130a248a 100644
--- a/drivers/staging/csr/csr_utf16.c
+++ b/drivers/staging/csr/csr_utf16.c
@@ -8,7 +8,6 @@
*****************************************************************************/
#include <linux/module.h>
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_unicode.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_util.c b/drivers/staging/csr/csr_util.c
index fa2b2b437f16..4a9bde09add7 100644
--- a/drivers/staging/csr/csr_util.c
+++ b/drivers/staging/csr/csr_util.c
@@ -12,7 +12,6 @@
#include <linux/module.h>
#include <stdarg.h>
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_util.h b/drivers/staging/csr/csr_util.h
index 222e8074605d..a124c73a5d6e 100644
--- a/drivers/staging/csr/csr_util.h
+++ b/drivers/staging/csr/csr_util.h
@@ -14,7 +14,8 @@
extern "C" {
#endif
-#include "csr_types.h"
+#include <linux/kernel.h>
+#include <linux/types.h>
#include "csr_macro.h"
/*------------------------------------------------------------------*/
diff --git a/drivers/staging/csr/csr_wifi_common.h b/drivers/staging/csr/csr_wifi_common.h
index df04a8bbd4f1..cc41a94b8f25 100644
--- a/drivers/staging/csr/csr_wifi_common.h
+++ b/drivers/staging/csr/csr_wifi_common.h
@@ -11,7 +11,7 @@
#ifndef CSR_WIFI_COMMON_H__
#define CSR_WIFI_COMMON_H__
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_result.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_wifi_fsm.h b/drivers/staging/csr/csr_wifi_fsm.h
index d078deefe445..83a9c9e2297a 100644
--- a/drivers/staging/csr/csr_wifi_fsm.h
+++ b/drivers/staging/csr/csr_wifi_fsm.h
@@ -15,7 +15,6 @@
extern "C" {
#endif
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_prim_defs.h"
#include "csr_log_text.h"
diff --git a/drivers/staging/csr/csr_wifi_fsm_event.h b/drivers/staging/csr/csr_wifi_fsm_event.h
index 47ca24554b6c..57a5cafd40bd 100644
--- a/drivers/staging/csr/csr_wifi_fsm_event.h
+++ b/drivers/staging/csr/csr_wifi_fsm_event.h
@@ -15,7 +15,6 @@
extern "C" {
#endif
-#include "csr_types.h"
#include "csr_prim_defs.h"
#include "csr_sched.h"
diff --git a/drivers/staging/csr/csr_wifi_fsm_types.h b/drivers/staging/csr/csr_wifi_fsm_types.h
index f3837c6794d3..c378ccadbcf1 100644
--- a/drivers/staging/csr/csr_wifi_fsm_types.h
+++ b/drivers/staging/csr/csr_wifi_fsm_types.h
@@ -15,7 +15,7 @@
extern "C" {
#endif
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_util.h"
#include "csr_pmem.h"
#include "csr_panic.h"
diff --git a/drivers/staging/csr/csr_wifi_hip_chiphelper.c b/drivers/staging/csr/csr_wifi_hip_chiphelper.c
index 1654d2842bb0..5cf5b8a5a1e1 100644
--- a/drivers/staging/csr/csr_wifi_hip_chiphelper.c
+++ b/drivers/staging/csr/csr_wifi_hip_chiphelper.c
@@ -8,7 +8,7 @@
*****************************************************************************/
-
+#include "csr_macro.h"
#include "csr_wifi_hip_chiphelper_private.h"
#ifndef nelem
diff --git a/drivers/staging/csr/csr_wifi_hip_chiphelper.h b/drivers/staging/csr/csr_wifi_hip_chiphelper.h
index 1047f16b6077..24737ae8a2de 100644
--- a/drivers/staging/csr/csr_wifi_hip_chiphelper.h
+++ b/drivers/staging/csr/csr_wifi_hip_chiphelper.h
@@ -12,7 +12,7 @@
#define CSR_WIFI_HIP_CHIPHELPER_H__
-#include "csr_types.h"
+#include <linux/types.h>
#ifdef __cplusplus
extern "C" {
diff --git a/drivers/staging/csr/csr_wifi_hip_signals.h b/drivers/staging/csr/csr_wifi_hip_signals.h
index 29c9a7c76cc7..5f841556bbef 100644
--- a/drivers/staging/csr/csr_wifi_hip_signals.h
+++ b/drivers/staging/csr/csr_wifi_hip_signals.h
@@ -24,7 +24,7 @@
#ifndef __CSR_WIFI_HIP_SIGNALS_H__
#define __CSR_WIFI_HIP_SIGNALS_H__
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_wifi_hip_sigs.h"
diff --git a/drivers/staging/csr/csr_wifi_hip_unifi.h b/drivers/staging/csr/csr_wifi_hip_unifi.h
index 50d458e49705..88f24bacb047 100644
--- a/drivers/staging/csr/csr_wifi_hip_unifi.h
+++ b/drivers/staging/csr/csr_wifi_hip_unifi.h
@@ -95,7 +95,6 @@ extern "C" {
#define UNIFI_SOFT_TRAFFIC_Q_LENGTH (20 + 1)
#define UNIFI_SOFT_COMMAND_Q_LENGTH (16 + 1)
-#include "csr_types.h" /* from the synergy porting folder */
#include "csr_framework_ext.h" /* from the synergy porting folder */
#include "csr_sdio.h" /* from the synergy porting folder */
#include "csr_pmem.h" /* from the synergy porting folder */
diff --git a/drivers/staging/csr/csr_wifi_lib.h b/drivers/staging/csr/csr_wifi_lib.h
index 861e4a42ac97..eb56f6208871 100644
--- a/drivers/staging/csr/csr_wifi_lib.h
+++ b/drivers/staging/csr/csr_wifi_lib.h
@@ -10,7 +10,6 @@
#ifndef CSR_WIFI_LIB_H__
#define CSR_WIFI_LIB_H__
-#include "csr_types.h"
#include "csr_wifi_fsm_event.h"
diff --git a/drivers/staging/csr/csr_wifi_msgconv.h b/drivers/staging/csr/csr_wifi_msgconv.h
index 4508262e9433..06314109098a 100644
--- a/drivers/staging/csr/csr_wifi_msgconv.h
+++ b/drivers/staging/csr/csr_wifi_msgconv.h
@@ -11,7 +11,6 @@
#ifndef CSR_WIFI_MSGCONV_H__
#define CSR_WIFI_MSGCONV_H__
-#include "csr_types.h"
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_unicode.h"
diff --git a/drivers/staging/csr/csr_wifi_nme_ap_lib.h b/drivers/staging/csr/csr_wifi_nme_ap_lib.h
index a74ec69a5c80..b7ebfe48dc3a 100644
--- a/drivers/staging/csr/csr_wifi_nme_ap_lib.h
+++ b/drivers/staging/csr/csr_wifi_nme_ap_lib.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_NME_AP_LIB_H__
#define CSR_WIFI_NME_AP_LIB_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_wifi_nme_ap_prim.h b/drivers/staging/csr/csr_wifi_nme_ap_prim.h
index 1ca0ec95917c..ec6704695365 100644
--- a/drivers/staging/csr/csr_wifi_nme_ap_prim.h
+++ b/drivers/staging/csr/csr_wifi_nme_ap_prim.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_NME_AP_PRIM_H__
#define CSR_WIFI_NME_AP_PRIM_H__
-#include "csr_types.h"
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_wifi_common.h"
diff --git a/drivers/staging/csr/csr_wifi_nme_ap_serialize.h b/drivers/staging/csr/csr_wifi_nme_ap_serialize.h
index 5f85b018348e..524da1420f17 100644
--- a/drivers/staging/csr/csr_wifi_nme_ap_serialize.h
+++ b/drivers/staging/csr/csr_wifi_nme_ap_serialize.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_NME_AP_SERIALIZE_H__
#define CSR_WIFI_NME_AP_SERIALIZE_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_wifi_msgconv.h"
diff --git a/drivers/staging/csr/csr_wifi_nme_lib.h b/drivers/staging/csr/csr_wifi_nme_lib.h
index c38f78ecd860..4ec7b946bd1a 100644
--- a/drivers/staging/csr/csr_wifi_nme_lib.h
+++ b/drivers/staging/csr/csr_wifi_nme_lib.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_NME_LIB_H__
#define CSR_WIFI_NME_LIB_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_wifi_nme_prim.h b/drivers/staging/csr/csr_wifi_nme_prim.h
index 4676b42771a6..20dc77971f94 100644
--- a/drivers/staging/csr/csr_wifi_nme_prim.h
+++ b/drivers/staging/csr/csr_wifi_nme_prim.h
@@ -13,7 +13,7 @@
#ifndef CSR_WIFI_NME_PRIM_H__
#define CSR_WIFI_NME_PRIM_H__
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_wifi_common.h"
diff --git a/drivers/staging/csr/csr_wifi_nme_serialize.h b/drivers/staging/csr/csr_wifi_nme_serialize.h
index 2acc6c1d20ba..dca36d9f3a3b 100644
--- a/drivers/staging/csr/csr_wifi_nme_serialize.h
+++ b/drivers/staging/csr/csr_wifi_nme_serialize.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_NME_SERIALIZE_H__
#define CSR_WIFI_NME_SERIALIZE_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_wifi_msgconv.h"
diff --git a/drivers/staging/csr/csr_wifi_nme_task.h b/drivers/staging/csr/csr_wifi_nme_task.h
index 2a03a19e402f..76f44dbe26a9 100644
--- a/drivers/staging/csr/csr_wifi_nme_task.h
+++ b/drivers/staging/csr/csr_wifi_nme_task.h
@@ -13,7 +13,7 @@
#ifndef CSR_WIFI_NME_TASK_H__
#define CSR_WIFI_NME_TASK_H__
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_sched.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_wifi_private_common.h b/drivers/staging/csr/csr_wifi_private_common.h
index 878b23b65779..47309984e2a7 100644
--- a/drivers/staging/csr/csr_wifi_private_common.h
+++ b/drivers/staging/csr/csr_wifi_private_common.h
@@ -11,8 +11,6 @@
#ifndef CSR_WIFI_PRIVATE_COMMON_H__
#define CSR_WIFI_PRIVATE_COMMON_H__
-#include "csr_types.h"
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/drivers/staging/csr/csr_wifi_result.h b/drivers/staging/csr/csr_wifi_result.h
index 95b73a0d71e6..2f87cda9003e 100644
--- a/drivers/staging/csr/csr_wifi_result.h
+++ b/drivers/staging/csr/csr_wifi_result.h
@@ -11,7 +11,6 @@
#ifndef CSR_WIFI_RESULT_H__
#define CSR_WIFI_RESULT_H__
-#include "csr_types.h"
#include "csr_result.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_wifi_router_ctrl_lib.h b/drivers/staging/csr/csr_wifi_router_ctrl_lib.h
index d837eea4328f..df9dd9bf6007 100644
--- a/drivers/staging/csr/csr_wifi_router_ctrl_lib.h
+++ b/drivers/staging/csr/csr_wifi_router_ctrl_lib.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_ROUTER_CTRL_LIB_H__
#define CSR_WIFI_ROUTER_CTRL_LIB_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_wifi_router_ctrl_prim.h b/drivers/staging/csr/csr_wifi_router_ctrl_prim.h
index f5ad3b312b35..ec972ac0b5aa 100644
--- a/drivers/staging/csr/csr_wifi_router_ctrl_prim.h
+++ b/drivers/staging/csr/csr_wifi_router_ctrl_prim.h
@@ -13,7 +13,7 @@
#ifndef CSR_WIFI_ROUTER_CTRL_PRIM_H__
#define CSR_WIFI_ROUTER_CTRL_PRIM_H__
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_wifi_common.h"
diff --git a/drivers/staging/csr/csr_wifi_router_ctrl_serialize.h b/drivers/staging/csr/csr_wifi_router_ctrl_serialize.h
index 458fb96c061e..f27037720189 100644
--- a/drivers/staging/csr/csr_wifi_router_ctrl_serialize.h
+++ b/drivers/staging/csr/csr_wifi_router_ctrl_serialize.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_ROUTER_CTRL_SERIALIZE_H__
#define CSR_WIFI_ROUTER_CTRL_SERIALIZE_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_wifi_msgconv.h"
diff --git a/drivers/staging/csr/csr_wifi_router_lib.h b/drivers/staging/csr/csr_wifi_router_lib.h
index ae0965b44643..2ca557c727dd 100644
--- a/drivers/staging/csr/csr_wifi_router_lib.h
+++ b/drivers/staging/csr/csr_wifi_router_lib.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_ROUTER_LIB_H__
#define CSR_WIFI_ROUTER_LIB_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_wifi_router_prim.h b/drivers/staging/csr/csr_wifi_router_prim.h
index 64b1f4fd7cd6..c61486fbb6d6 100644
--- a/drivers/staging/csr/csr_wifi_router_prim.h
+++ b/drivers/staging/csr/csr_wifi_router_prim.h
@@ -13,7 +13,7 @@
#ifndef CSR_WIFI_ROUTER_PRIM_H__
#define CSR_WIFI_ROUTER_PRIM_H__
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_wifi_common.h"
diff --git a/drivers/staging/csr/csr_wifi_router_serialize.h b/drivers/staging/csr/csr_wifi_router_serialize.h
index e6fdf322a416..4951c404a3e9 100644
--- a/drivers/staging/csr/csr_wifi_router_serialize.h
+++ b/drivers/staging/csr/csr_wifi_router_serialize.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_ROUTER_SERIALIZE_H__
#define CSR_WIFI_ROUTER_SERIALIZE_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_wifi_msgconv.h"
diff --git a/drivers/staging/csr/csr_wifi_router_task.h b/drivers/staging/csr/csr_wifi_router_task.h
index 5bc460e4a393..4e51fae4cda0 100644
--- a/drivers/staging/csr/csr_wifi_router_task.h
+++ b/drivers/staging/csr/csr_wifi_router_task.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_ROUTER_TASK_H__
#define CSR_WIFI_ROUTER_TASK_H__
-#include "csr_types.h"
#include "csr_sched.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/csr_wifi_router_transport.c b/drivers/staging/csr/csr_wifi_router_transport.c
index e42b21f396a5..f340780a27af 100644
--- a/drivers/staging/csr/csr_wifi_router_transport.c
+++ b/drivers/staging/csr/csr_wifi_router_transport.c
@@ -10,7 +10,6 @@
#include "unifi_priv.h"
-#include "csr_types.h"
#include "csr_sched.h"
#include "csr_msgconv.h"
diff --git a/drivers/staging/csr/csr_wifi_serialize_primitive_types.c b/drivers/staging/csr/csr_wifi_serialize_primitive_types.c
index 743dbdc283c0..e73f94b0c2a2 100644
--- a/drivers/staging/csr/csr_wifi_serialize_primitive_types.c
+++ b/drivers/staging/csr/csr_wifi_serialize_primitive_types.c
@@ -9,7 +9,6 @@
*****************************************************************************/
#include <linux/module.h>
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_util.h"
#include "csr_msgconv.h"
diff --git a/drivers/staging/csr/csr_wifi_sme_ap_lib.h b/drivers/staging/csr/csr_wifi_sme_ap_lib.h
index cacb3a5b8c4e..22a3419b1b1c 100644
--- a/drivers/staging/csr/csr_wifi_sme_ap_lib.h
+++ b/drivers/staging/csr/csr_wifi_sme_ap_lib.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_SME_AP_LIB_H__
#define CSR_WIFI_SME_AP_LIB_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_wifi_sme_ap_prim.h b/drivers/staging/csr/csr_wifi_sme_ap_prim.h
index 01df2a54966c..93b64e9154c8 100644
--- a/drivers/staging/csr/csr_wifi_sme_ap_prim.h
+++ b/drivers/staging/csr/csr_wifi_sme_ap_prim.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_SME_AP_PRIM_H__
#define CSR_WIFI_SME_AP_PRIM_H__
-#include "csr_types.h"
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_wifi_common.h"
diff --git a/drivers/staging/csr/csr_wifi_sme_lib.h b/drivers/staging/csr/csr_wifi_sme_lib.h
index 6960f8fa886f..f320bd43e1d5 100644
--- a/drivers/staging/csr/csr_wifi_sme_lib.h
+++ b/drivers/staging/csr/csr_wifi_sme_lib.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_SME_LIB_H__
#define CSR_WIFI_SME_LIB_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
diff --git a/drivers/staging/csr/csr_wifi_sme_prim.h b/drivers/staging/csr/csr_wifi_sme_prim.h
index 84eb6e9f0c26..55cac5059bf7 100644
--- a/drivers/staging/csr/csr_wifi_sme_prim.h
+++ b/drivers/staging/csr/csr_wifi_sme_prim.h
@@ -13,7 +13,7 @@
#ifndef CSR_WIFI_SME_PRIM_H__
#define CSR_WIFI_SME_PRIM_H__
-#include "csr_types.h"
+#include <linux/types.h>
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_wifi_common.h"
diff --git a/drivers/staging/csr/csr_wifi_sme_serialize.h b/drivers/staging/csr/csr_wifi_sme_serialize.h
index e8d50006e73a..9ea9d15fe0d8 100644
--- a/drivers/staging/csr/csr_wifi_sme_serialize.h
+++ b/drivers/staging/csr/csr_wifi_sme_serialize.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_SME_SERIALIZE_H__
#define CSR_WIFI_SME_SERIALIZE_H__
-#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_wifi_msgconv.h"
diff --git a/drivers/staging/csr/csr_wifi_sme_task.h b/drivers/staging/csr/csr_wifi_sme_task.h
index 62cc8b77fe4a..0f725e454939 100644
--- a/drivers/staging/csr/csr_wifi_sme_task.h
+++ b/drivers/staging/csr/csr_wifi_sme_task.h
@@ -13,7 +13,6 @@
#ifndef CSR_WIFI_SME_TASK_H__
#define CSR_WIFI_SME_TASK_H__
-#include "csr_types.h"
#include "csr_sched.h"
#ifdef __cplusplus
diff --git a/drivers/staging/csr/unifiio.h b/drivers/staging/csr/unifiio.h
index 9acf9ee7a8da..b9de0cb94e9a 100644
--- a/drivers/staging/csr/unifiio.h
+++ b/drivers/staging/csr/unifiio.h
@@ -19,7 +19,6 @@
#define __UNIFIIO_H__
#include <linux/types.h>
-#include "csr_types.h"
#define UNIFI_GET_UDI_ENABLE _IOR('u', 1, int)
#define UNIFI_SET_UDI_ENABLE _IOW('u', 2, int)