diff options
-rw-r--r-- | drivers/scsi/scsi_lib.c | 3 | ||||
-rw-r--r-- | include/scsi/scsi_driver.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 4e15a3a5ad29..85cf0ef843f6 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -1047,7 +1047,7 @@ static struct scsi_cmnd *scsi_get_cmd_from_req(struct scsi_device *sdev, | |||
1047 | return cmd; | 1047 | return cmd; |
1048 | } | 1048 | } |
1049 | 1049 | ||
1050 | int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) | 1050 | static int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) |
1051 | { | 1051 | { |
1052 | struct scsi_cmnd *cmd = req->special; | 1052 | struct scsi_cmnd *cmd = req->special; |
1053 | 1053 | ||
@@ -1072,7 +1072,6 @@ int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) | |||
1072 | cmd->allowed = req->retries; | 1072 | cmd->allowed = req->retries; |
1073 | return BLKPREP_OK; | 1073 | return BLKPREP_OK; |
1074 | } | 1074 | } |
1075 | EXPORT_SYMBOL(scsi_setup_blk_pc_cmnd); | ||
1076 | 1075 | ||
1077 | /* | 1076 | /* |
1078 | * Setup a REQ_TYPE_FS command. These are simple request from filesystems | 1077 | * Setup a REQ_TYPE_FS command. These are simple request from filesystems |
diff --git a/include/scsi/scsi_driver.h b/include/scsi/scsi_driver.h index 009d2ae91a52..c2b759809d8a 100644 --- a/include/scsi/scsi_driver.h +++ b/include/scsi/scsi_driver.h | |||
@@ -29,6 +29,4 @@ extern int scsi_register_interface(struct class_interface *); | |||
29 | #define scsi_unregister_interface(intf) \ | 29 | #define scsi_unregister_interface(intf) \ |
30 | class_interface_unregister(intf) | 30 | class_interface_unregister(intf) |
31 | 31 | ||
32 | int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req); | ||
33 | |||
34 | #endif /* _SCSI_SCSI_DRIVER_H */ | 32 | #endif /* _SCSI_SCSI_DRIVER_H */ |