[PATCH] mark struct file_operations const 8
[deliverable/linux.git] / net / netfilter / nf_conntrack_standalone.c
index f1cb60ff9319bf1a9651c984157a04d16c592ff2..04ac12431db7103f1653deaafe5e6e3b8fcab8b6 100644 (file)
@@ -229,7 +229,7 @@ out_free:
        return ret;
 }
 
-static struct file_operations ct_file_ops = {
+static const struct file_operations ct_file_ops = {
        .owner   = THIS_MODULE,
        .open    = ct_open,
        .read    = seq_read,
@@ -317,7 +317,7 @@ static int ct_cpu_seq_open(struct inode *inode, struct file *file)
        return seq_open(file, &ct_cpu_seq_ops);
 }
 
-static struct file_operations ct_cpu_seq_fops = {
+static const struct file_operations ct_cpu_seq_fops = {
        .owner   = THIS_MODULE,
        .open    = ct_cpu_seq_open,
        .read    = seq_read,
This page took 0.026231 seconds and 5 git commands to generate.