summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-scsi.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-31 00:50:23 +0100
committerJeff Garzik <jeff@garzik.org>2007-11-03 13:46:29 +0100
commita2d6ed149cefab495dbb573124e7e1ca331005fd (patch)
treea32cd6492dafe396ec6fc52df3a2dd37c8e815c4 /drivers/ata/libata-scsi.c
parentlibata: suppress two warnings (diff)
downloadlinux-a2d6ed149cefab495dbb573124e7e1ca331005fd.tar.xz
linux-a2d6ed149cefab495dbb573124e7e1ca331005fd.zip
make ata_scsi_lpm_get() static
ata_scsi_lpm_get() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r--drivers/ata/libata-scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index fc89590d3772..245057df69d6 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -120,7 +120,7 @@ static const struct {
{ MEDIUM_POWER, "medium_power" },
};
-const char *ata_scsi_lpm_get(enum link_pm policy)
+static const char *ata_scsi_lpm_get(enum link_pm policy)
{
int i;