aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-sff.c2
-rw-r--r--drivers/ata/libata.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index a4700af43d10..d5dd88d6dea0 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -511,7 +511,7 @@ EXPORT_SYMBOL_GPL(ata_sff_dev_select);
511 * LOCKING: 511 * LOCKING:
512 * caller. 512 * caller.
513 */ 513 */
514void ata_dev_select(struct ata_port *ap, unsigned int device, 514static void ata_dev_select(struct ata_port *ap, unsigned int device,
515 unsigned int wait, unsigned int can_sleep) 515 unsigned int wait, unsigned int can_sleep)
516{ 516{
517 if (ata_msg_probe(ap)) 517 if (ata_msg_probe(ap))
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 823e63096362..132da80aa23a 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -202,9 +202,6 @@ static inline int sata_pmp_attach(struct ata_device *dev)
202 202
203/* libata-sff.c */ 203/* libata-sff.c */
204#ifdef CONFIG_ATA_SFF 204#ifdef CONFIG_ATA_SFF
205extern void ata_dev_select(struct ata_port *ap, unsigned int device,
206 unsigned int wait, unsigned int can_sleep);
207extern u8 ata_irq_on(struct ata_port *ap);
208extern void ata_pio_task(struct work_struct *work); 205extern void ata_pio_task(struct work_struct *work);
209#endif /* CONFIG_ATA_SFF */ 206#endif /* CONFIG_ATA_SFF */
210 207