From: Luis R. Rodriguez Date: Mon, 14 Sep 2009 09:09:38 +0000 (-0700) Subject: ath9k: make ath9k_common_ops const X-Git-Tag: v2.6.33-rc1~388^2~865^2~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ddb5c8b8739ec054d22ef8efd9bf04cac12a36c;p=thirdparty%2Flinux.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 ab9b7eaecd818..2278dcbeee163 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, };