ath9k: make ath9k_common_ops const
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 14 Sep 2009 09:09:38 +0000 (02:09 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 Oct 2009 20:39:31 +0000 (16:39 -0400)
As noted by Jiri.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c

index ab9b7ea..2278dcb 100644 (file)
@@ -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,
 };