diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-14 18:33:19 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-14 18:33:19 -0800 |
commit | 4dda744c2a26d7ee63ceaf834bfe19ab038e4064 (patch) | |
tree | 9a92ae054a630ec47dfa9c09e7a1db5d6fb18600 /drivers | |
parent | 3265edaf0d70433699eece915fcca6509332c0e8 (diff) |
greybus: Camera: remove f_dentry usage
On newer kernels f_dentry is gone, so use f_path.dentry instead.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/greybus/camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c index 38b209c93eab..b7d9384e9471 100644 --- 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; } |