]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/can/bcm.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / net / can / bcm.c
index 5dcb20076f394d2827cb0c4b5017161c66d27b9e..8f113e6ff32750d3809c3ab38117d6ad1ebc8f38 100644 (file)
@@ -226,7 +226,7 @@ static int bcm_proc_show(struct seq_file *m, void *v)
 
 static int bcm_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, bcm_proc_show, PDE(inode)->data);
+       return single_open(file, bcm_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations bcm_proc_fops = {