hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/arch/m68k/kernel/bootinfo_proc.c
....@@ -26,9 +26,9 @@
2626 bootinfo_size);
2727 }
2828
29
-static const struct file_operations bootinfo_fops = {
30
- .read = bootinfo_read,
31
- .llseek = default_llseek,
29
+static const struct proc_ops bootinfo_proc_ops = {
30
+ .proc_read = bootinfo_read,
31
+ .proc_lseek = default_llseek,
3232 };
3333
3434 void __init save_bootinfo(const struct bi_record *bi)
....@@ -67,7 +67,7 @@
6767 if (!bootinfo_copy)
6868 return -ENOMEM;
6969
70
- pde = proc_create_data("bootinfo", 0400, NULL, &bootinfo_fops, NULL);
70
+ pde = proc_create_data("bootinfo", 0400, NULL, &bootinfo_proc_ops, NULL);
7171 if (!pde) {
7272 kfree(bootinfo_copy);
7373 return -ENOMEM;