projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-2.6-block.git]
/
arch
/
blackfin
/
kernel
/
cplbinfo.c
diff --git
a/arch/blackfin/kernel/cplbinfo.c
b/arch/blackfin/kernel/cplbinfo.c
index 0bdaa517a5017097ffd7e37fa07d354fb4c1e808..e1d0b24c60708378b894d3a7cabd9a6f2ebef65e 100644
(file)
--- a/
arch/blackfin/kernel/cplbinfo.c
+++ b/
arch/blackfin/kernel/cplbinfo.c
@@
-116,7
+116,7
@@
static const struct seq_operations cplbinfo_sops = {
static int cplbinfo_open(struct inode *inode, struct file *file)
{
- struct proc_dir_entry *pde = PDE(file
->f_path.dentry->d_inode
);
+ struct proc_dir_entry *pde = PDE(file
_inode(file)
);
char cplb_type;
unsigned int cpu;
int ret;