]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/mac80211/rc80211_pid_debugfs.c
net: file_operations should be const
[net-next-2.6.git] / net / mac80211 / rc80211_pid_debugfs.c
index a08a9b5303474bc304b9f119b31cc4938dfa9acb..a59043fbb0ff267e703e1f5779d8ae45730032cc 100644 (file)
@@ -198,7 +198,7 @@ static ssize_t rate_control_pid_events_read(struct file *file, char __user *buf,
 
 #undef RC_PID_PRINT_BUF_SIZE
 
-static struct file_operations rc_pid_fop_events = {
+static const struct file_operations rc_pid_fop_events = {
        .owner = THIS_MODULE,
        .read = rate_control_pid_events_read,
        .poll = rate_control_pid_events_poll,