From: Luis R. Rodriguez Date: Mon, 14 Sep 2009 09:09:38 +0000 (-0700) Subject: ath9k: make ath9k_common_ops const X-Git-Tag: MMI-PSA29.97-13-9~25754^2~865^2~89 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ddb5c8b8739ec054d22ef8efd9bf04cac12a36c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k: make ath9k_common_ops const As noted by Jiri. Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index ab9b7eaecd81..2278dcbeee16 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -1579,7 +1579,7 @@ static unsigned int ath9k_ioread32(void *hw_priv, u32 reg_offset) return val; } -static struct ath_ops ath9k_common_ops = { +static const struct ath_ops ath9k_common_ops = { .read = ath9k_ioread32, .write = ath9k_iowrite32, };