diff options
author | Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> | 2011-09-05 04:19:45 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-09-05 04:19:45 -0400 |
commit | 38c35ffd38be9fbbf2ec0b67a802472d3f58f9fa (patch) | |
tree | 5266defe153684e3d67bba548a2ebe51f635d6c2 | |
parent | e5090444be811ce45653969363be8fcb4c52d597 (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.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/main.c | 2 |
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); |
524 | void ath6kl_stop_txrx(struct ath6kl *ar); | 524 | void ath6kl_stop_txrx(struct ath6kl *ar); |
525 | void ath6kl_cleanup_amsdu_rxbufs(struct ath6kl *ar); | 525 | void ath6kl_cleanup_amsdu_rxbufs(struct ath6kl *ar); |
526 | int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value); | ||
526 | int ath6kl_diag_write(struct ath6kl *ar, u32 address, void *data, u32 length); | 527 | int ath6kl_diag_write(struct ath6kl *ar, u32 address, void *data, u32 length); |
527 | int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value); | 528 | int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value); |
528 | int ath6kl_diag_read(struct ath6kl *ar, u32 address, void *data, u32 length); | 529 | int 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 | */ |
264 | static int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value) | 264 | int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value) |
265 | { | 265 | { |
266 | int ret; | 266 | int ret; |
267 | 267 | ||