aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2011-09-05 04:19:45 -0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-09-05 04:19:45 -0400
commit38c35ffd38be9fbbf2ec0b67a802472d3f58f9fa (patch)
tree5266defe153684e3d67bba548a2ebe51f635d6c2
parente5090444be811ce45653969363be8fcb4c52d597 (diff)
ath6kl: Make ath6kl_diag_write32() non-static
So that this can be called from debug.c when adding support to write chip register. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath6kl/core.h1
-rw-r--r--drivers/net/wireless/ath/ath6kl/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h
index faf801571214..e69cd5b552a7 100644
--- a/drivers/net/wireless/ath/ath6kl/core.h
+++ b/drivers/net/wireless/ath/ath6kl/core.h
@@ -523,6 +523,7 @@ enum htc_send_full_action ath6kl_tx_queue_full(struct htc_target *target,
523 struct htc_packet *packet); 523 struct htc_packet *packet);
524void ath6kl_stop_txrx(struct ath6kl *ar); 524void ath6kl_stop_txrx(struct ath6kl *ar);
525void ath6kl_cleanup_amsdu_rxbufs(struct ath6kl *ar); 525void ath6kl_cleanup_amsdu_rxbufs(struct ath6kl *ar);
526int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value);
526int ath6kl_diag_write(struct ath6kl *ar, u32 address, void *data, u32 length); 527int ath6kl_diag_write(struct ath6kl *ar, u32 address, void *data, u32 length);
527int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value); 528int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value);
528int ath6kl_diag_read(struct ath6kl *ar, u32 address, void *data, u32 length); 529int ath6kl_diag_read(struct ath6kl *ar, u32 address, void *data, u32 length);
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c
index bda14d1d6f2f..48e9c2e0eae8 100644
--- a/drivers/net/wireless/ath/ath6kl/main.c
+++ b/drivers/net/wireless/ath/ath6kl/main.c
@@ -261,7 +261,7 @@ int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value)
261 * Write to the ATH6KL through its diagnostic window. No cooperation from 261 * Write to the ATH6KL through its diagnostic window. No cooperation from
262 * the Target is required for this. 262 * the Target is required for this.
263 */ 263 */
264static int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value) 264int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value)
265{ 265{
266 int ret; 266 int ret;
267 267