Re: [2.6 patch] make ata_scsi_lpm_get() static

From: Jeff Garzik
Date: Sat Nov 03 2007 - 08:48:40 EST


Adrian Bunk wrote:
ata_scsi_lpm_get() can become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
380046f657271be470566bb5c762c1599569bac6 diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index 93bd36c..c4f0c6c 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;

applied


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/