summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-core.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-21 11:51:17 +0300
committerJeff Garzik <jgarzik@redhat.com>2008-04-25 00:46:11 -0400
commit1dc55e876182a13dcc5991c3aab893f38455d8a7 (patch)
tree3ab0cd75c5673b59802b652a0eefd4eca30219c0 /drivers/ata/libata-core.c
parent6bdb4fc9f9e5307012f6f2afb8642b52dad9c186 (diff)
make sata_set_spd_needed() static
sata_set_spd_needed() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r--drivers/ata/libata-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index ce76702af1e..51b7d2fad36 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)
* 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;