summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-14 02:09:38 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:31 -0400
commit2ddb5c8b8739ec054d22ef8efd9bf04cac12a36c (patch)
tree9c7dc0b8592ebec3f87138f69eefc648b3ea986e /drivers
parent5bb127913299b37fceecf66ce86ee8ede70e7d13 (diff)
downloadop-kernel-dev-2ddb5c8b8739ec054d22ef8efd9bf04cac12a36c.zip
op-kernel-dev-2ddb5c8b8739ec054d22ef8efd9bf04cac12a36c.tar.gz
ath9k: make ath9k_common_ops const
As noted by Jiri. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c2
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 ab9b7ea..2278dcb 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,
};
OpenPOWER on IntegriCloud