]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/can/proc.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / net / can / proc.c
index 1ab8c888f1024003b6dd4a60e1e7a1988bf94d25..b543470c8f8b5ef7e5196b7f895cf30a9b0db90e 100644 (file)
@@ -378,7 +378,7 @@ static int can_rcvlist_proc_show(struct seq_file *m, void *v)
 
 static int can_rcvlist_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, can_rcvlist_proc_show, PDE(inode)->data);
+       return single_open(file, can_rcvlist_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations can_rcvlist_proc_fops = {