]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/kallsyms.c
Merge tag 'docs-5.6-2' of git://git.lwn.net/linux
[linux.git] / kernel / kallsyms.c
index 136ce049c4ad2f34f2b811c0e04c668ed511dba1..d812b90f4c86c5859abed0a33080097925d0938d 100644 (file)
@@ -698,16 +698,16 @@ const char *kdb_walk_kallsyms(loff_t *pos)
 }
 #endif /* CONFIG_KGDB_KDB */
 
-static const struct file_operations kallsyms_operations = {
-       .open = kallsyms_open,
-       .read = seq_read,
-       .llseek = seq_lseek,
-       .release = seq_release_private,
+static const struct proc_ops kallsyms_proc_ops = {
+       .proc_open      = kallsyms_open,
+       .proc_read      = seq_read,
+       .proc_lseek     = seq_lseek,
+       .proc_release   = seq_release_private,
 };
 
 static int __init kallsyms_init(void)
 {
-       proc_create("kallsyms", 0444, NULL, &kallsyms_operations);
+       proc_create("kallsyms", 0444, NULL, &kallsyms_proc_ops);
        return 0;
 }
 device_initcall(kallsyms_init);