Skip to contentSkip to conversation

ath10k: tag ath10k_target_ps as static

PATCH New Bartosz Markowski 2 participants 3 messages Apr 22, 2013 – Apr 23, 2013 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: tag ath10k_target_ps as static

---
 drivers/net/wireless/ath/ath10k/pci.c |    2 +-
 drivers/net/wireless/ath/ath10k/pci.h |    2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
drivers/net/wireless/ath/ath10k/pci.c +1 -1
index 4bba532..9c650df 100644
@@ -33,7 +33,7 @@
 #include "ce.h"
 #include "pci.h"
 
-unsigned int ath10k_target_ps;
+static unsigned int ath10k_target_ps;
 module_param(ath10k_target_ps, uint, 0644);
 MODULE_PARM_DESC(ath10k_target_ps, "Enable ath10k Target (SoC) PS option");
 
drivers/net/wireless/ath/ath10k/pci.h +0 -2
index a3b5e88..e0ed0b0 100644
@@ -353,8 +353,6 @@ static inline void WAR_CE_SRC_RING_WRITE_IDX_SET(struct ath10k *ar,
 	}
 }
 
-extern unsigned int ath10k_target_ps;
-
 void ath10k_pci_wake(struct ath10k *ar);
 void ath10k_pci_sleep(struct ath10k *ar);
 
Signature · 1 line
1.7.10
#2 lore raw

PATCH 1/1 ath10k: tag ath10k_target_ps as static

Quoted 5 lines · Kalle Valo
Quoted 1 line · Bartosz Markowski

Thanks, applied with conflicts. Please check.

Actually, I was too hasty. I cannot apply this as after Sujith's "ath10k: Fix PCI probe" ath10k_target_ps needs to be extern again.

So let's drop this patch for now.

Signature · 1 line
Kalle Valo