iwlwifi: remove includes of iwl-helpers.h where not needed

This patch removes includes of iwl-helpers.h where not needed

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Tomas Winkler 2008-12-11 10:33:39 -08:00 коммит произвёл John W. Linville
Родитель 29d51d9df5
Коммит b5047f7866
7 изменённых файлов: 4 добавлений и 9 удалений

Просмотреть файл

@ -38,7 +38,6 @@
#include "iwl-dev.h" #include "iwl-dev.h"
#include "iwl-sta.h" #include "iwl-sta.h"
#include "iwl-core.h" #include "iwl-core.h"
#include "iwl-helpers.h"
#define RS_NAME "iwl-agn-rs" #define RS_NAME "iwl-agn-rs"

Просмотреть файл

@ -498,6 +498,10 @@ struct iwl_sensitivity_ranges {
#define IWL_FAT_CHANNEL_52 BIT(IEEE80211_BAND_5GHZ) #define IWL_FAT_CHANNEL_52 BIT(IEEE80211_BAND_5GHZ)
#define KELVIN_TO_CELSIUS(x) ((x)-273)
#define CELSIUS_TO_KELVIN(x) ((x)+273)
/** /**
* struct iwl_hw_params * struct iwl_hw_params
* @max_txq_num: Max # Tx queues supported * @max_txq_num: Max # Tx queues supported

Просмотреть файл

@ -32,8 +32,6 @@
#include <linux/ctype.h> #include <linux/ctype.h>
#define KELVIN_TO_CELSIUS(x) ((x)-273)
#define CELSIUS_TO_KELVIN(x) ((x)+273)
#define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) #define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo))))

Просмотреть файл

@ -41,7 +41,6 @@
#include "iwl-dev.h" #include "iwl-dev.h"
#include "iwl-core.h" #include "iwl-core.h"
#include "iwl-io.h" #include "iwl-io.h"
#include "iwl-helpers.h"
#ifdef CONFIG_IWLWIFI_DEBUG #ifdef CONFIG_IWLWIFI_DEBUG
static const char *led_type_str[] = { static const char *led_type_str[] = {

Просмотреть файл

@ -39,7 +39,6 @@
#include "iwl-commands.h" #include "iwl-commands.h"
#include "iwl-debug.h" #include "iwl-debug.h"
#include "iwl-power.h" #include "iwl-power.h"
#include "iwl-helpers.h"
/* /*
* Setting power level allow the card to go to sleep when not busy * Setting power level allow the card to go to sleep when not busy

Просмотреть файл

@ -34,8 +34,6 @@
#include "iwl-eeprom.h" #include "iwl-eeprom.h"
#include "iwl-dev.h" #include "iwl-dev.h"
#include "iwl-core.h" #include "iwl-core.h"
#include "iwl-helpers.h"
/* software rf-kill from user */ /* software rf-kill from user */
static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state) static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state)

Просмотреть файл

@ -33,8 +33,6 @@
#include "iwl-dev.h" #include "iwl-dev.h"
#include "iwl-core.h" #include "iwl-core.h"
#include "iwl-sta.h" #include "iwl-sta.h"
#include "iwl-helpers.h"
#define IWL_STA_DRIVER_ACTIVE BIT(0) /* driver entry is active */ #define IWL_STA_DRIVER_ACTIVE BIT(0) /* driver entry is active */
#define IWL_STA_UCODE_ACTIVE BIT(1) /* ucode entry is active */ #define IWL_STA_UCODE_ACTIVE BIT(1) /* ucode entry is active */