projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ab211
)
ar9170: Use const
author
Joe Perches
<joe@perches.com>
Sun, 21 Nov 2010 02:38:51 +0000
(18:38 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 22 Nov 2010 20:58:42 +0000
(15:58 -0500)
Mark an array const.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/cmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ar9170/cmd.c
b/drivers/net/wireless/ath/ar9170/cmd.c
index 4604de09a8b28dc22aa140793acb59b6bf5f59a9..6452c5055a636ec76208b8c2532c094a85a6bec9 100644
(file)
--- a/
drivers/net/wireless/ath/ar9170/cmd.c
+++ b/
drivers/net/wireless/ath/ar9170/cmd.c
@@
-54,7
+54,7
@@
int ar9170_write_mem(struct ar9170 *ar, const __le32 *data, size_t len)
int ar9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val)
{
- __le32 buf[2] = {
+
const
__le32 buf[2] = {
cpu_to_le32(reg),
cpu_to_le32(val),
};