diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-core.c | 2 | ||||
-rw-r--r-- | drivers/ata/libata.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index ce76702af1ee..51b7d2fad36a 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -2772,7 +2772,7 @@ static int __sata_set_spd_needed(struct ata_link *link, u32 *scontrol) | |||
2772 | * RETURNS: | 2772 | * RETURNS: |
2773 | * 1 if SATA spd configuration is needed, 0 otherwise. | 2773 | * 1 if SATA spd configuration is needed, 0 otherwise. |
2774 | */ | 2774 | */ |
2775 | int sata_set_spd_needed(struct ata_link *link) | 2775 | static int sata_set_spd_needed(struct ata_link *link) |
2776 | { | 2776 | { |
2777 | u32 scontrol; | 2777 | u32 scontrol; |
2778 | 2778 | ||
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index 4aeeabb10a47..ae2cfd95d43e 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -101,7 +101,6 @@ extern int ata_dev_revalidate(struct ata_device *dev, unsigned int new_class, | |||
101 | unsigned int readid_flags); | 101 | unsigned int readid_flags); |
102 | extern int ata_dev_configure(struct ata_device *dev); | 102 | extern int ata_dev_configure(struct ata_device *dev); |
103 | extern int sata_down_spd_limit(struct ata_link *link); | 103 | extern int sata_down_spd_limit(struct ata_link *link); |
104 | extern int sata_set_spd_needed(struct ata_link *link); | ||
105 | extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel); | 104 | extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel); |
106 | extern void ata_sg_clean(struct ata_queued_cmd *qc); | 105 | extern void ata_sg_clean(struct ata_queued_cmd *qc); |
107 | extern void ata_qc_free(struct ata_queued_cmd *qc); | 106 | extern void ata_qc_free(struct ata_queued_cmd *qc); |