Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux...
[firefly-linux-kernel-4.4.55.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 = {