diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-08-31 11:18:16 +0200 |
---|---|---|
committer | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-15 14:12:06 +0100 |
commit | e53aac424767a9f42b3bbac22eb001491f605d4e (patch) | |
tree | 9e4f26c85c8bd13e5a7ab7f0aa8e6880c8c35fd7 | |
parent | 6278ddab9f859b8d6311879d35f2b1f74a789964 (diff) | |
download | blackbird-op-linux-e53aac424767a9f42b3bbac22eb001491f605d4e.tar.gz blackbird-op-linux-e53aac424767a9f42b3bbac22eb001491f605d4e.zip |
iwlegacy: move IL_MASK
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-helpers.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index 2bab0fc34d10..dbe5bf2d5791 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c @@ -4944,6 +4944,8 @@ static const s8 default_queue_to_tx_fifo[] = { IL_TX_FIFO_UNUSED, }; +#define IL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) + static int il4965_alive_notify(struct il_priv *il) { u32 a; diff --git a/drivers/net/wireless/iwlegacy/iwl-helpers.h b/drivers/net/wireless/iwlegacy/iwl-helpers.h index eb5a287f2254..2db83fc32103 100644 --- a/drivers/net/wireless/iwlegacy/iwl-helpers.h +++ b/drivers/net/wireless/iwlegacy/iwl-helpers.h @@ -35,9 +35,6 @@ #include "iwl-io.h" -#define IL_MASK(lo, hi) ((1 << (hi)) | ((1 << (hi)) - (1 << (lo)))) - - /** * il_queue_inc_wrap - increment queue idx, wrap back to beginning * @idx -- current idx |