* [2.6 patch] make ata_scsi_lpm_get() static
@ 2007-10-30 23:50 Adrian Bunk
2007-11-03 12:48 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-10-30 23:50 UTC (permalink / raw)
To: Kristen Carlson Accardi, Jeff Garzik; +Cc: linux-ide, linux-kernel
ata_scsi_lpm_get() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] make ata_scsi_lpm_get() static
2007-10-30 23:50 [2.6 patch] make ata_scsi_lpm_get() static Adrian Bunk
@ 2007-11-03 12:48 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-11-03 12:48 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Kristen Carlson Accardi, Jeff Garzik, linux-ide, linux-kernel
Adrian Bunk wrote:
> ata_scsi_lpm_get() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-03 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 23:50 [2.6 patch] make ata_scsi_lpm_get() static Adrian Bunk
2007-11-03 12:48 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).