diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2012-11-18 06:16:14 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-11-19 09:07:33 -0500 |
commit | 223b9cb1a04c056f364cfb979a8957800b5cc9f1 (patch) | |
tree | 2d0837bfc2779bae1ec551e78d9523e69c81bebd /drivers | |
parent | 49bd072d4ebab59217dadeb779a0a3dd2d0397ec (diff) |
iwlwifi: make iwl_pcie_rxq_inc_wr_ptr static
It is not used outside pcie/rx.c.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/internal.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/rx.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/internal.h b/drivers/net/wireless/iwlwifi/pcie/internal.h index e6b6dba982c7..d91d2e8c62f5 100644 --- a/drivers/net/wireless/iwlwifi/pcie/internal.h +++ b/drivers/net/wireless/iwlwifi/pcie/internal.h | |||
@@ -329,7 +329,6 @@ void iwl_trans_pcie_free(struct iwl_trans *trans); | |||
329 | ******************************************************/ | 329 | ******************************************************/ |
330 | int iwl_pcie_rx_init(struct iwl_trans *trans); | 330 | int iwl_pcie_rx_init(struct iwl_trans *trans); |
331 | void iwl_pcie_tasklet(struct iwl_trans *trans); | 331 | void iwl_pcie_tasklet(struct iwl_trans *trans); |
332 | void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_rxq *q); | ||
333 | int iwl_pcie_rx_stop(struct iwl_trans *trans); | 332 | int iwl_pcie_rx_stop(struct iwl_trans *trans); |
334 | void iwl_pcie_rx_free(struct iwl_trans *trans); | 333 | void iwl_pcie_rx_free(struct iwl_trans *trans); |
335 | 334 | ||
diff --git a/drivers/net/wireless/iwlwifi/pcie/rx.c b/drivers/net/wireless/iwlwifi/pcie/rx.c index 28a4968be1c1..c81b9782d2a4 100644 --- a/drivers/net/wireless/iwlwifi/pcie/rx.c +++ b/drivers/net/wireless/iwlwifi/pcie/rx.c | |||
@@ -142,9 +142,8 @@ int iwl_pcie_rx_stop(struct iwl_trans *trans) | |||
142 | 142 | ||
143 | /* | 143 | /* |
144 | * iwl_pcie_rxq_inc_wr_ptr - Update the write pointer for the RX queue | 144 | * iwl_pcie_rxq_inc_wr_ptr - Update the write pointer for the RX queue |
145 | * TODO - could be made static | ||
146 | */ | 145 | */ |
147 | void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_rxq *q) | 146 | static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans, struct iwl_rxq *q) |
148 | { | 147 | { |
149 | unsigned long flags; | 148 | unsigned long flags; |
150 | u32 reg; | 149 | u32 reg; |