diff options
Diffstat (limited to 'drivers/usb/gadget/printer.c')
-rw-r--r-- | drivers/usb/gadget/printer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/printer.c b/drivers/usb/gadget/printer.c index 35bcc83d1e04..bf7a56b6d48a 100644 --- a/drivers/usb/gadget/printer.c +++ b/drivers/usb/gadget/printer.c | |||
@@ -688,7 +688,7 @@ static int | |||
688 | printer_fsync(struct file *fd, loff_t start, loff_t end, int datasync) | 688 | printer_fsync(struct file *fd, loff_t start, loff_t end, int datasync) |
689 | { | 689 | { |
690 | struct printer_dev *dev = fd->private_data; | 690 | struct printer_dev *dev = fd->private_data; |
691 | struct inode *inode = fd->f_path.dentry->d_inode; | 691 | struct inode *inode = file_inode(fd); |
692 | unsigned long flags; | 692 | unsigned long flags; |
693 | int tx_list_empty; | 693 | int tx_list_empty; |
694 | 694 | ||