summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel_debugfs.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-09-01 19:25:05 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-02 01:03:53 -0700
commit5ca1b998d33c39819fca2b675d80c4469e705f2d (patch)
treefbe882f3908b6b57ae3fe54d13abb0067538276d /net/mac80211/rc80211_minstrel_debugfs.c
parent3b401a81c0d50ea9c718cf837f62cc2e6e79cc30 (diff)
downloadop-kernel-dev-5ca1b998d33c39819fca2b675d80c4469e705f2d.zip
op-kernel-dev-5ca1b998d33c39819fca2b675d80c4469e705f2d.tar.gz
net: file_operations should be const
All instances of file_operations should be const. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_debugfs.c')
-rw-r--r--net/mac80211/rc80211_minstrel_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel_debugfs.c b/net/mac80211/rc80211_minstrel_debugfs.c
index 3d72ec5..a715d94 100644
--- a/net/mac80211/rc80211_minstrel_debugfs.c
+++ b/net/mac80211/rc80211_minstrel_debugfs.c
@@ -139,7 +139,7 @@ minstrel_stats_release(struct inode *inode, struct file *file)
return 0;
}
-static struct file_operations minstrel_stat_fops = {
+static const struct file_operations minstrel_stat_fops = {
.owner = THIS_MODULE,
.open = minstrel_stats_open,
.read = minstrel_stats_read,
OpenPOWER on IntegriCloud