tracing: make all file_operations const
[firefly-linux-kernel-4.4.55.git] / kernel / trace / ring_buffer.c
index f7473645b9c65611814dc6fd0d0ff96bf51c279a..178858492a89bcafb3f5ca96dbdfd9ea5ba181d4 100644 (file)
@@ -2606,7 +2606,7 @@ rb_simple_write(struct file *filp, const char __user *ubuf,
        return cnt;
 }
 
-static struct file_operations rb_simple_fops = {
+static const struct file_operations rb_simple_fops = {
        .open           = tracing_open_generic,
        .read           = rb_simple_read,
        .write          = rb_simple_write,