]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/isdn/hysdn/hycapi.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / drivers / isdn / hysdn / hycapi.c
index 931f916c9c235d33c753a3e8fda8ec6c7aea6eb5..00aad10507d8a05710b5955cb47f1c4c97612fd4 100644 (file)
@@ -469,7 +469,7 @@ static int hycapi_proc_show(struct seq_file *m, void *v)
 
 static int hycapi_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, hycapi_proc_show, PDE(inode)->data);
+       return single_open(file, hycapi_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations hycapi_proc_fops = {