procfs: new helper - PDE_DATA(inode)
[deliverable/linux.git] / arch / arm / kernel / atags_proc.c
index 8c00f75bf1ab221dccbb4245ef8727e6d33221e0..c7ff8073416fb0fc4619f597d17cc738985c0a0f 100644 (file)
@@ -12,7 +12,7 @@ struct buffer {
 static ssize_t atags_read(struct file *file, char __user *buf,
                          size_t count, loff_t *ppos)
 {
-       struct buffer *b = PDE(file_inode(file))->data;
+       struct buffer *b = PDE_DATA(file_inode(file));
        return simple_read_from_buffer(buf, count, ppos, b->data, b->size);
 }
 
This page took 0.025181 seconds and 5 git commands to generate.