Commit 980b5a2b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b6b5244e
......@@ -8,7 +8,6 @@
*****************************************************************************/
#include "csr_types.h"
#include "csr_formatted_io.h"
#include "csr_util.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, ...);
......
......@@ -28,7 +28,6 @@
#include <linux/bitops.h>
#include "csr_types.h"
#include "csr_framework_ext.h"
#include "csr_panic.h"
......
......@@ -10,7 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#include "csr_result.h"
#include "csr_framework_ext_types.h"
......
......@@ -10,8 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#ifdef __KERNEL__
#include <linux/kthread.h>
#include <linux/semaphore.h>
......
......@@ -10,7 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#include "csr_prim_defs.h"
#ifdef __cplusplus
......
......@@ -10,7 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#include "csr_sched.h"
#include "csr_panic.h"
#include "csr_prim_defs.h"
......
......@@ -10,7 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#include "csr_log.h"
#ifdef __cplusplus
......
......@@ -10,7 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#include "csr_log_configure.h"
#ifdef __cplusplus
......
......@@ -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 */
/*------------------------------------------------------------------*/
......
......@@ -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"
......
......@@ -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"
......
......@@ -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)
......
......@@ -9,8 +9,6 @@
on the license terms.
*****************************************************************************/
#include "csr_types.h"
#ifdef __cplusplus
extern "C" {
#endif
......
......@@ -10,7 +10,7 @@
*****************************************************************************/
#include "csr_types.h"
#include <linux/types.h>
#include "csr_util.h"
#ifdef __cplusplus
......
......@@ -9,8 +9,6 @@
on the license terms.
*****************************************************************************/
#include "csr_types.h"
#ifdef __cplusplus
extern "C" {
#endif
......
......@@ -10,8 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#ifdef __cplusplus
extern "C" {
#endif
......
......@@ -9,7 +9,7 @@
on the license terms.
*****************************************************************************/
#include "csr_types.h"
#include <linux/types.h>
#include "csr_time.h"
#ifdef __cplusplus
......
......@@ -10,7 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#include "csr_result.h"
#ifdef __cplusplus
......
......@@ -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"
......
......@@ -20,7 +20,6 @@
#include <linux/time.h>
#include <linux/module.h>
#include "csr_types.h"
#include "csr_time.h"
CsrTime CsrTimeGet(CsrTime *high)
......
......@@ -10,7 +10,7 @@
*****************************************************************************/
#include "csr_types.h"
#include <linux/types.h>
#ifdef __cplusplus
extern "C" {
......
#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
......@@ -10,8 +10,6 @@
*****************************************************************************/
#include "csr_types.h"
#ifdef __cplusplus
extern "C" {
#endif
......
......@@ -8,7 +8,6 @@
*****************************************************************************/
#include <linux/module.h>
#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_unicode.h"
#include "csr_util.h"
......
......@@ -12,7 +12,6 @@
#include <linux/module.h>
#include <stdarg.h>
#include "csr_types.h"
#include "csr_pmem.h"
#include "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"
/*------------------------------------------------------------------*/
......
......@@ -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
......
......@@ -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"
......
......@@ -15,7 +15,6 @@
extern "C" {
#endif
#include "csr_types.h"
#include "csr_prim_defs.h"
#include "csr_sched.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"
......
......@@ -8,7 +8,7 @@
*****************************************************************************/
#include "csr_macro.h"
#include "csr_wifi_hip_chiphelper_private.h"
#ifndef nelem
......
......@@ -12,7 +12,7 @@
#define CSR_WIFI_HIP_CHIPHELPER_H__
#include "csr_types.h"
#include <linux/types.h>
#ifdef __cplusplus
extern "C" {
......
......@@ -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"
......
......@@ -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 */
......
......@@ -10,7 +10,6 @@
#ifndef CSR_WIFI_LIB_H__
#define CSR_WIFI_LIB_H__
#include "csr_types.h"
#include "csr_wifi_fsm_event.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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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
......
......@@ -11,7 +11,6 @@
#ifndef CSR_WIFI_RESULT_H__
#define CSR_WIFI_RESULT_H__
#include "csr_types.h"
#include "csr_result.h"
#ifdef __cplusplus
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -10,7 +10,6 @@
#include "unifi_priv.h"
#include "csr_types.h"
#include "csr_sched.h"
#include "csr_msgconv.h"
......
......@@ -9,7 +9,6 @@
*****************************************************************************/
#include <linux/module.h>
#include "csr_types.h"
#include "csr_pmem.h"
#include "csr_util.h"
#include "csr_msgconv.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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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)
......
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