]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/tile/kernel/hardwall.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / arch / tile / kernel / hardwall.c
index 20273ee37deb78919667efa12fbaa7dff41a3cca..38ac189d95751a1a7d7a0fe074ad76179037f8a0 100644 (file)
@@ -914,7 +914,7 @@ static int hardwall_proc_show(struct seq_file *sf, void *v)
 static int hardwall_proc_open(struct inode *inode,
                              struct file *file)
 {
-       return single_open(file, hardwall_proc_show, PDE(inode)->data);
+       return single_open(file, hardwall_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations hardwall_proc_fops = {