aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r--drivers/ata/libata-scsi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index 99face8e4b23..57111f842d66 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -397,9 +397,9 @@ int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, void __user *arg)
397 * RETURNS: 397 * RETURNS:
398 * Command allocated, or %NULL if none available. 398 * Command allocated, or %NULL if none available.
399 */ 399 */
400struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev, 400static struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev,
401 struct scsi_cmnd *cmd, 401 struct scsi_cmnd *cmd,
402 void (*done)(struct scsi_cmnd *)) 402 void (*done)(struct scsi_cmnd *))
403{ 403{
404 struct ata_queued_cmd *qc; 404 struct ata_queued_cmd *qc;
405 405
@@ -435,7 +435,7 @@ struct ata_queued_cmd *ata_scsi_qc_new(struct ata_device *dev,
435 * LOCKING: 435 * LOCKING:
436 * inherited from caller 436 * inherited from caller
437 */ 437 */
438void ata_dump_status(unsigned id, struct ata_taskfile *tf) 438static void ata_dump_status(unsigned id, struct ata_taskfile *tf)
439{ 439{
440 u8 stat = tf->command, err = tf->feature; 440 u8 stat = tf->command, err = tf->feature;
441 441
@@ -610,8 +610,8 @@ int ata_scsi_device_resume(struct scsi_device *sdev)
610 * LOCKING: 610 * LOCKING:
611 * spin_lock_irqsave(host lock) 611 * spin_lock_irqsave(host lock)
612 */ 612 */
613void ata_to_sense_error(unsigned id, u8 drv_stat, u8 drv_err, u8 *sk, u8 *asc, 613static void ata_to_sense_error(unsigned id, u8 drv_stat, u8 drv_err, u8 *sk,
614 u8 *ascq, int verbose) 614 u8 *asc, u8 *ascq, int verbose)
615{ 615{
616 int i; 616 int i;
617 617