net: file_operations should be const
[firefly-linux-kernel-4.4.55.git] / net / mac80211 / rc80211_minstrel_debugfs.c
index 3d72ec5730d4482a183b9844d23be10e314f2cd0..a715d9454f640846ccb24cc055d89eb448267840 100644 (file)
@@ -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,