[PATCH] ath9k: make ath9k_common_ops const
Luis R. Rodriguez
lrodriguez at atheros.com
Mon Sep 14 09:10:35 UTC 2009
As noted by Jiri.
Signed-off-by: Luis R. Rodriguez <lrodriguez at atheros.com>
---
drivers/net/wireless/ath/ath9k/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 588ee89..3223b30 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1583,7 +1583,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,
};
--
1.6.3.3
More information about the devel
mailing list