hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/s390/cio/blacklist.c
....@@ -399,12 +399,12 @@
399399 sizeof(struct ccwdev_iter));
400400 }
401401
402
-static const struct file_operations cio_ignore_proc_fops = {
403
- .open = cio_ignore_proc_open,
404
- .read = seq_read,
405
- .llseek = seq_lseek,
406
- .release = seq_release_private,
407
- .write = cio_ignore_write,
402
+static const struct proc_ops cio_ignore_proc_ops = {
403
+ .proc_open = cio_ignore_proc_open,
404
+ .proc_read = seq_read,
405
+ .proc_lseek = seq_lseek,
406
+ .proc_release = seq_release_private,
407
+ .proc_write = cio_ignore_write,
408408 };
409409
410410 static int
....@@ -413,7 +413,7 @@
413413 struct proc_dir_entry *entry;
414414
415415 entry = proc_create("cio_ignore", S_IFREG | S_IRUGO | S_IWUSR, NULL,
416
- &cio_ignore_proc_fops);
416
+ &cio_ignore_proc_ops);
417417 if (!entry)
418418 return -ENOENT;
419419 return 0;