diff options
author | Joe Perches <joe@perches.com> | 2010-11-20 21:38:51 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-22 15:58:42 -0500 |
commit | 85be3d98dbc8d9cff9411c52c619c3752737b7b4 (patch) | |
tree | ae5dee3beae8ef0f4c37a199c3be9c3507f9908b | |
parent | a9ab21133581580f6907abbc33fd3870e75dc935 (diff) |
ar9170: Use const
Mark an array const.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath/ar9170/cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ar9170/cmd.c b/drivers/net/wireless/ath/ar9170/cmd.c index 4604de09a8b2..6452c5055a63 100644 --- 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) | |||
54 | 54 | ||
55 | int ar9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) | 55 | int ar9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val) |
56 | { | 56 | { |
57 | __le32 buf[2] = { | 57 | const __le32 buf[2] = { |
58 | cpu_to_le32(reg), | 58 | cpu_to_le32(reg), |
59 | cpu_to_le32(val), | 59 | cpu_to_le32(val), |
60 | }; | 60 | }; |