]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
make sata_set_spd_needed() static
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Apr 2008 08:51:17 +0000 (11:51 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 04:46:11 +0000 (00:46 -0400)
sata_set_spd_needed() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
drivers/ata/libata.h

index ce76702af1ee2086b4f2fbb7e6a1d71248737ec6..51b7d2fad36a2539d72da75f44bcb2683ee041a5 100644 (file)
@@ -2772,7 +2772,7 @@ static int __sata_set_spd_needed(struct ata_link *link, u32 *scontrol)
  *     RETURNS:
  *     1 if SATA spd configuration is needed, 0 otherwise.
  */
-int sata_set_spd_needed(struct ata_link *link)
+static int sata_set_spd_needed(struct ata_link *link)
 {
        u32 scontrol;
 
index 4aeeabb10a478c26cdf094d12ff7bd72cd14ac65..ae2cfd95d43ef7591b1b6ead5b4497080ec5876e 100644 (file)
@@ -101,7 +101,6 @@ extern int ata_dev_revalidate(struct ata_device *dev, unsigned int new_class,
                              unsigned int readid_flags);
 extern int ata_dev_configure(struct ata_device *dev);
 extern int sata_down_spd_limit(struct ata_link *link);
-extern int sata_set_spd_needed(struct ata_link *link);
 extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel);
 extern void ata_sg_clean(struct ata_queued_cmd *qc);
 extern void ata_qc_free(struct ata_queued_cmd *qc);