]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/isdn/hardware/avm/b1dma.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / drivers / isdn / hardware / avm / b1dma.c
index 0896aa86fc08732dab2f2641b699dee31a1c0350..19b113faeb7b826b9f57e9ae103ad434ddca43b7 100644 (file)
@@ -944,7 +944,7 @@ static int b1dmactl_proc_show(struct seq_file *m, void *v)
 
 static int b1dmactl_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, b1dmactl_proc_show, PDE(inode)->data);
+       return single_open(file, b1dmactl_proc_show, PDE_DATA(inode));
 }
 
 const struct file_operations b1dmactl_proc_fops = {