kernel/include/scsi/scsi_driver.h
.. .. @@ -2,6 +2,7 @@ 2 2 #ifndef _SCSI_SCSI_DRIVER_H 3 3 #define _SCSI_SCSI_DRIVER_H 4 4 5 +#include <linux/blk_types.h>5 6 #include <linux/device.h> 6 7 7 8 struct module; .. .. @@ -13,7 +14,7 @@ 13 14 struct device_driver gendrv; 14 15 15 16 void (*rescan)(struct device *); 16 - int (*init_command)(struct scsi_cmnd *);17 + blk_status_t (*init_command)(struct scsi_cmnd *);17 18 void (*uninit_command)(struct scsi_cmnd *); 18 19 int (*done)(struct scsi_cmnd *); 19 20 int (*eh_action)(struct scsi_cmnd *, int);