Browse Source

ar9170: Use const

Mark an array const.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Joe Perches 14 years ago
parent
commit
85be3d98db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/wireless/ath/ar9170/cmd.c

+ 1 - 1
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),
 	};