From: Joe Perches Date: Sun, 21 Nov 2010 02:38:51 +0000 (-0800) Subject: ar9170: Use const X-Git-Tag: v3.0~2504^2~169^2^2~213 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85be3d98dbc8d9cff9411c52c619c3752737b7b4;p=platform%2Fkernel%2Flinux-amlogic.git ar9170: Use const Mark an array const. Signed-off-by: Joe Perches Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ar9170/cmd.c b/drivers/net/wireless/ath/ar9170/cmd.c index 4604de0..6452c50 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) 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), };