Merge tag 'docs-5.6-2' of git://git.lwn.net/linux
[linux-2.6-microblaze.git] / fs / proc / kmsg.c
index 4f4a2ab..ec1b7d2 100644 (file)
@@ -49,17 +49,17 @@ static __poll_t kmsg_poll(struct file *file, poll_table *wait)
 }
 
 
-static const struct file_operations proc_kmsg_operations = {
-       .read           = kmsg_read,
-       .poll           = kmsg_poll,
-       .open           = kmsg_open,
-       .release        = kmsg_release,
-       .llseek         = generic_file_llseek,
+static const struct proc_ops kmsg_proc_ops = {
+       .proc_read      = kmsg_read,
+       .proc_poll      = kmsg_poll,
+       .proc_open      = kmsg_open,
+       .proc_release   = kmsg_release,
+       .proc_lseek     = generic_file_llseek,
 };
 
 static int __init proc_kmsg_init(void)
 {
-       proc_create("kmsg", S_IRUSR, NULL, &proc_kmsg_operations);
+       proc_create("kmsg", S_IRUSR, NULL, &kmsg_proc_ops);
        return 0;
 }
 fs_initcall(proc_kmsg_init);