aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/libata-core.c2
-rw-r--r--drivers/ata/libata-scsi.c12
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index e267319bb2b1..2869469790b0 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -1156,7 +1156,7 @@ void ata_port_flush_task(struct ata_port *ap)
1156 ata_port_printk(ap, KERN_DEBUG, "%s: EXIT\n", __FUNCTION__); 1156 ata_port_printk(ap, KERN_DEBUG, "%s: EXIT\n", __FUNCTION__);
1157} 1157}
1158 1158
1159void ata_qc_complete_internal(struct ata_queued_cmd *qc) 1159static void ata_qc_complete_internal(struct ata_queued_cmd *qc)
1160{ 1160{
1161 struct completion *waiting = qc->private_data; 1161 struct completion *waiting = qc->private_data;
1162 1162
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