]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/ide/ide-floppy_proc.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / drivers / ide / ide-floppy_proc.c
index 1600720f3e8654b93da870db04b90de1dbd92c5d..e7a25ea757dfe76e827cdff00c64b60ab63eec4d 100644 (file)
@@ -15,7 +15,7 @@ static int idefloppy_capacity_proc_show(struct seq_file *m, void *v)
 
 static int idefloppy_capacity_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, idefloppy_capacity_proc_show, PDE(inode)->data);
+       return single_open(file, idefloppy_capacity_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations idefloppy_capacity_proc_fops = {