diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-12-11 13:33:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 14:45:39 -0500 |
commit | b5047f78664fbcc18d67dafbb45bf62b310f9b0a (patch) | |
tree | 835dcdc2344a4bc576e839f9124085934287d763 /drivers/net/wireless | |
parent | 29d51d9df53a4b383e2062b2ea0d575c9f3fca47 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-helpers.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-led.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rfkill.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 2 |
7 files changed, 4 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index a21875dec656..37b892044a18 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include "iwl-dev.h" | 38 | #include "iwl-dev.h" |
39 | #include "iwl-sta.h" | 39 | #include "iwl-sta.h" |
40 | #include "iwl-core.h" | 40 | #include "iwl-core.h" |
41 | #include "iwl-helpers.h" | ||
42 | 41 | ||
43 | #define RS_NAME "iwl-agn-rs" | 42 | #define RS_NAME "iwl-agn-rs" |
44 | 43 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index a520e47a5eb6..664a983acdab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -498,6 +498,10 @@ struct iwl_sensitivity_ranges { | |||
498 | 498 | ||
499 | #define IWL_FAT_CHANNEL_52 BIT(IEEE80211_BAND_5GHZ) | 499 | #define IWL_FAT_CHANNEL_52 BIT(IEEE80211_BAND_5GHZ) |
500 | 500 | ||
501 | #define KELVIN_TO_CELSIUS(x) ((x)-273) | ||
502 | #define CELSIUS_TO_KELVIN(x) ((x)+273) | ||
503 | |||
504 | |||
501 | /** | 505 | /** |
502 | * struct iwl_hw_params | 506 | * struct iwl_hw_params |
503 | * @max_txq_num: Max # Tx queues supported | 507 | * @max_txq_num: Max # Tx queues supported |
diff --git a/drivers/net/wireless/iwlwifi/iwl-helpers.h b/drivers/net/wireless/iwlwifi/iwl-helpers.h index d4d2829b67d5..ca4f638ab9d0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-helpers.h +++ b/drivers/net/wireless/iwlwifi/iwl-helpers.h | |||
@@ -32,8 +32,6 @@ | |||
32 | 32 | ||
33 | #include <linux/ctype.h> | 33 | #include <linux/ctype.h> |
34 | 34 | ||
35 | #define KELVIN_TO_CELSIUS(x) ((x)-273) | ||
36 | #define CELSIUS_TO_KELVIN(x) ((x)+273) | ||
37 | #define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) | 35 | #define IWL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) |
38 | 36 | ||
39 | 37 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-led.c b/drivers/net/wireless/iwlwifi/iwl-led.c index e8ce188935fc..dce32ff8dec1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-led.c +++ b/drivers/net/wireless/iwlwifi/iwl-led.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include "iwl-dev.h" | 41 | #include "iwl-dev.h" |
42 | #include "iwl-core.h" | 42 | #include "iwl-core.h" |
43 | #include "iwl-io.h" | 43 | #include "iwl-io.h" |
44 | #include "iwl-helpers.h" | ||
45 | 44 | ||
46 | #ifdef CONFIG_IWLWIFI_DEBUG | 45 | #ifdef CONFIG_IWLWIFI_DEBUG |
47 | static const char *led_type_str[] = { | 46 | static const char *led_type_str[] = { |
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index be8eb95ce4da..75ca6a542174 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include "iwl-commands.h" | 39 | #include "iwl-commands.h" |
40 | #include "iwl-debug.h" | 40 | #include "iwl-debug.h" |
41 | #include "iwl-power.h" | 41 | #include "iwl-power.h" |
42 | #include "iwl-helpers.h" | ||
43 | 42 | ||
44 | /* | 43 | /* |
45 | * Setting power level allow the card to go to sleep when not busy | 44 | * Setting power level allow the card to go to sleep when not busy |
diff --git a/drivers/net/wireless/iwlwifi/iwl-rfkill.c b/drivers/net/wireless/iwlwifi/iwl-rfkill.c index 7894f2d18da3..4b69da30665c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rfkill.c +++ b/drivers/net/wireless/iwlwifi/iwl-rfkill.c | |||
@@ -34,8 +34,6 @@ | |||
34 | #include "iwl-eeprom.h" | 34 | #include "iwl-eeprom.h" |
35 | #include "iwl-dev.h" | 35 | #include "iwl-dev.h" |
36 | #include "iwl-core.h" | 36 | #include "iwl-core.h" |
37 | #include "iwl-helpers.h" | ||
38 | |||
39 | 37 | ||
40 | /* software rf-kill from user */ | 38 | /* software rf-kill from user */ |
41 | static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state) | 39 | static int iwl_rfkill_soft_rf_kill(void *data, enum rfkill_state state) |
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index a803cfaffa13..412f66bac1af 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -33,8 +33,6 @@ | |||
33 | #include "iwl-dev.h" | 33 | #include "iwl-dev.h" |
34 | #include "iwl-core.h" | 34 | #include "iwl-core.h" |
35 | #include "iwl-sta.h" | 35 | #include "iwl-sta.h" |
36 | #include "iwl-helpers.h" | ||
37 | |||
38 | 36 | ||
39 | #define IWL_STA_DRIVER_ACTIVE BIT(0) /* driver entry is active */ | 37 | #define IWL_STA_DRIVER_ACTIVE BIT(0) /* driver entry is active */ |
40 | #define IWL_STA_UCODE_ACTIVE BIT(1) /* ucode entry is active */ | 38 | #define IWL_STA_UCODE_ACTIVE BIT(1) /* ucode entry is active */ |