diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-29 16:26:44 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:43 -0500 |
commit | c1b4aa3fb619782213af2af6652663c8f9cef373 (patch) | |
tree | a5c37c26ebf311dbf9428167efdb24915c1b824c /drivers/net/wireless/iwlwifi/iwl-power.h | |
parent | e5d24efe529b26d782b41a61a5e958c72f36f295 (diff) |
wireless: replace uses of __constant_{endian}
The base versions handle constant folding now.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-power.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.h b/drivers/net/wireless/iwlwifi/iwl-power.h index 879eafdd7369..18963392121e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.h +++ b/drivers/net/wireless/iwlwifi/iwl-power.h | |||
@@ -54,14 +54,14 @@ enum { | |||
54 | 54 | ||
55 | /* Power management (not Tx power) structures */ | 55 | /* Power management (not Tx power) structures */ |
56 | 56 | ||
57 | #define NOSLP __constant_cpu_to_le16(0), 0, 0 | 57 | #define NOSLP cpu_to_le16(0), 0, 0 |
58 | #define SLP IWL_POWER_DRIVER_ALLOW_SLEEP_MSK, 0, 0 | 58 | #define SLP IWL_POWER_DRIVER_ALLOW_SLEEP_MSK, 0, 0 |
59 | #define SLP_TOUT(T) __constant_cpu_to_le32((T) * MSEC_TO_USEC) | 59 | #define SLP_TOUT(T) cpu_to_le32((T) * MSEC_TO_USEC) |
60 | #define SLP_VEC(X0, X1, X2, X3, X4) {__constant_cpu_to_le32(X0), \ | 60 | #define SLP_VEC(X0, X1, X2, X3, X4) {cpu_to_le32(X0), \ |
61 | __constant_cpu_to_le32(X1), \ | 61 | cpu_to_le32(X1), \ |
62 | __constant_cpu_to_le32(X2), \ | 62 | cpu_to_le32(X2), \ |
63 | __constant_cpu_to_le32(X3), \ | 63 | cpu_to_le32(X3), \ |
64 | __constant_cpu_to_le32(X4)} | 64 | cpu_to_le32(X4)} |
65 | struct iwl_power_vec_entry { | 65 | struct iwl_power_vec_entry { |
66 | struct iwl_powertable_cmd cmd; | 66 | struct iwl_powertable_cmd cmd; |
67 | u8 no_dtim; | 67 | u8 no_dtim; |