aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/carl9170
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-20 21:38:54 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-22 15:58:45 -0500
commit5653a63d85300dbed71b76ab7ada03808bdfb170 (patch)
treebb2e61ac24dc7a81f52b04e981ec6dea920b5ad1 /drivers/net/wireless/ath/carl9170
parent07b2fa5a2368accf0fe6cb16e7eca6d1150554ed (diff)
carl9170: Use static const
Using static const generally increases object text and decreases data size. It also generally decreases overall object size. text data bss dec hex filename 1897 56 672 2625 a41 drivers/net/wireless/ath/carl9170/cmd.o.new 1897 56 672 2625 a41 drivers/net/wireless/ath/carl9170/cmd.o.old Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r--drivers/net/wireless/ath/carl9170/cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/carl9170/cmd.c b/drivers/net/wireless/ath/carl9170/cmd.c
index c21f3364bfe..cdfc94c371b 100644
--- a/drivers/net/wireless/ath/carl9170/cmd.c
+++ b/drivers/net/wireless/ath/carl9170/cmd.c
@@ -41,7 +41,7 @@
41 41
42int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) 42int carl9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val)
43{ 43{
44 __le32 buf[2] = { 44 const __le32 buf[2] = {
45 cpu_to_le32(reg), 45 cpu_to_le32(reg),
46 cpu_to_le32(val), 46 cpu_to_le32(val),
47 }; 47 };