]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/bluetooth/cmtp/capi.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / net / bluetooth / cmtp / capi.c
index a4a9d4b6816c43b3216eee038f961301978b5713..cd75e4d64b9093df7f3d07c711b43ba983779197 100644 (file)
@@ -539,7 +539,7 @@ static int cmtp_proc_show(struct seq_file *m, void *v)
 
 static int cmtp_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, cmtp_proc_show, PDE(inode)->data);
+       return single_open(file, cmtp_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations cmtp_proc_fops = {