From: Luis R. Rodriguez Date: Mon, 14 Sep 2009 09:09:38 +0000 (-0700) Subject: ath9k: make ath9k_common_ops const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2ddb5c8b8739ec054d22ef8efd9bf04cac12a36c;p=mv-sheeva.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 ab9b7eaecd8..2278dcbeee1 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, };