aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsi_ioctl.h')
-rw-r--r--include/scsi/scsi_ioctl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/scsi/scsi_ioctl.h b/include/scsi/scsi_ioctl.h
index cdb3ba3451e7..defbe8084eb8 100644
--- a/include/scsi/scsi_ioctl.h
+++ b/include/scsi/scsi_ioctl.h
@@ -18,6 +18,7 @@
#ifdef __KERNEL__
+struct gendisk;
struct scsi_device;
/*
@@ -43,7 +44,8 @@ typedef struct scsi_fctargaddress {
int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev,
int cmd, bool ndelay);
-extern int scsi_ioctl(struct scsi_device *, int, void __user *);
+int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode,
+ int cmd, void __user *arg);
#endif /* __KERNEL__ */
#endif /* _SCSI_IOCTL_H */