mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
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>
This commit is contained in:
parent
3265edaf0d
commit
4dda744c2a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue