]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ath6kl: Make ath6kl_diag_write32() non-static
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Mon, 5 Sep 2011 08:19:45 +0000 (11:19 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 5 Sep 2011 08:19:45 +0000 (11:19 +0300)
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>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/main.c

index faf801571214f98f891f60055a9b24823bb263ff..e69cd5b552a70a363402127b0fa9a4c67c5f7363 100644 (file)
@@ -523,6 +523,7 @@ enum htc_send_full_action ath6kl_tx_queue_full(struct htc_target *target,
                                               struct htc_packet *packet);
 void ath6kl_stop_txrx(struct ath6kl *ar);
 void ath6kl_cleanup_amsdu_rxbufs(struct ath6kl *ar);
+int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value);
 int ath6kl_diag_write(struct ath6kl *ar, u32 address, void *data, u32 length);
 int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value);
 int ath6kl_diag_read(struct ath6kl *ar, u32 address, void *data, u32 length);
index bda14d1d6f2f31ac65aabfcc7400347a835881de..48e9c2e0eae8de2d835ab65807d5b06b2e011c81 100644 (file)
@@ -261,7 +261,7 @@ int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value)
  * Write to the ATH6KL through its diagnostic window. No cooperation from
  * the Target is required for this.
  */
-static int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value)
+int ath6kl_diag_write32(struct ath6kl *ar, u32 address, u32 value)
 {
        int ret;