Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85be3d98 authored by Joe Perches's avatar Joe Perches Committed by John W. Linville
Browse files

ar9170: Use const



Mark an array const.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a9ab2113
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),
	};