projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procfs: new helper - PDE_DATA(inode)
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
atm
/
proc.c
diff --git
a/net/atm/proc.c
b/net/atm/proc.c
index 6ac35ff0d6b9a82143e8171dfae4fc95a0176f30..bbb6461a4b7fbe9a9d2b2d957bca7974331d42aa 100644
(file)
--- a/
net/atm/proc.c
+++ b/
net/atm/proc.c
@@
-385,7
+385,7
@@
static ssize_t proc_dev_atm_read(struct file *file, char __user *buf,
page = get_zeroed_page(GFP_KERNEL);
if (!page)
return -ENOMEM;
- dev = PDE
(file_inode(file))->data
;
+ dev = PDE
_DATA(file_inode(file))
;
if (!dev->ops->proc_read)
length = -EINVAL;
else {