projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3265eda
)
greybus: Camera: remove f_dentry usage
author
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 15 Dec 2015 02:33:19 +0000
(18:33 -0800)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 15 Dec 2015 02:33:19 +0000
(18:33 -0800)
On newer kernels f_dentry is gone, so use f_path.dentry instead.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/camera.c
b/drivers/staging/greybus/camera.c
index
38b209c
..
b7d9384
100644
(file)
--- a/
drivers/staging/greybus/camera.c
+++ b/
drivers/staging/greybus/camera.c
@@
-465,7
+465,7
@@
static int gb_camera_debugfs_open(struct inode *inode, struct file *file)
const struct gb_camera_debugfs_entry *entry =
&gb_camera_debugfs_entries[i];
- if (!strcmp(file->f_dentry->d_iname, entry->name)) {
+ if (!strcmp(file->f_
path.
dentry->d_iname, entry->name)) {
file->private_data = (void *)entry;
break;
}