procfs: new helper - PDE_DATA(inode)
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / sh / mm / alignment.c
index aea14855e656dd629c2f8fc2ddce5dfeeae440c0..ec2b25302427ac63587b5c4ff9fbcdfd17f9a731 100644 (file)
@@ -140,7 +140,7 @@ static int alignment_proc_open(struct inode *inode, struct file *file)
 static ssize_t alignment_proc_write(struct file *file,
                const char __user *buffer, size_t count, loff_t *pos)
 {
-       int *data = PDE(file_inode(file))->data;
+       int *data = PDE_DATA(file_inode(file));
        char mode;
 
        if (count > 0) {