diff options
author | Luis R. Rodriguez <mcgrof@qca.qualcomm.com> | 2011-12-21 17:27:01 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-04 19:30:42 (GMT) |
commit | 6ec414fd123f847d590ba71e68b48e77bbdb3442 (patch) | |
tree | e6c2eb4668914106da8ccfd1c950fba5415b3101 /drivers/net | |
parent | 84c816dad5f5af90699ca12a520f25f9067bad79 (diff) | |
download | linux-6ec414fd123f847d590ba71e68b48e77bbdb3442.tar.xz |
ath9k: make ath_mci_duty_cycle static
This fixes this sparse warning:
CHECK drivers/net/wireless/ath/ath9k/mci.c
drivers/net/wireless/ath/ath9k/mci.c:23:4: warning: symbol 'ath_mci_duty_cycle' was not declared. Should it be static?
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mci.c b/drivers/net/wireless/ath/ath9k/mci.c index fee8c6f..05c23ea 100644 --- a/drivers/net/wireless/ath/ath9k/mci.c +++ b/drivers/net/wireless/ath/ath9k/mci.c @@ -20,7 +20,7 @@ #include "ath9k.h" #include "mci.h" -u8 ath_mci_duty_cycle[] = { 0, 50, 60, 70, 80, 85, 90, 95, 98 }; +static const u8 ath_mci_duty_cycle[] = { 0, 50, 60, 70, 80, 85, 90, 95, 98 }; static struct ath_mci_profile_info* ath_mci_find_profile(struct ath_mci_profile *mci, |