aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-9xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/3w-9xxx.c')
-rw-r--r--drivers/scsi/3w-9xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c
index d1f0120cdb98..5e1e12c0cf42 100644
--- a/drivers/scsi/3w-9xxx.c
+++ b/drivers/scsi/3w-9xxx.c
@@ -640,7 +640,7 @@ out:
640/* This function handles ioctl for the character device */ 640/* This function handles ioctl for the character device */
641static long twa_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) 641static long twa_chrdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
642{ 642{
643 struct inode *inode = file->f_path.dentry->d_inode; 643 struct inode *inode = file_inode(file);
644 long timeout; 644 long timeout;
645 unsigned long *cpu_addr, data_buffer_length_adjusted = 0, flags = 0; 645 unsigned long *cpu_addr, data_buffer_length_adjusted = 0, flags = 0;
646 dma_addr_t dma_handle; 646 dma_addr_t dma_handle;