linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>,
	Kristen Carlson Accardi <kristen.c.accardi@intel.com>,
	Jeff Garzik <jeff@garzik.org>, Tejun Heo <htejun@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: [-mm patch] make drivers/ata/libata-scsi.c:ata_scsi_link_pm_policy() static
Date: Tue, 14 Aug 2007 23:23:00 +0200	[thread overview]
Message-ID: <20070814212259.GI18945@stusta.de> (raw)
In-Reply-To: <20070809015106.cd0bfc53.akpm@linux-foundation.org>

On Thu, Aug 09, 2007 at 01:51:06AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.23-rc2-mm1:
>...
> +alpm-enable-link-power-management-for-ata-drivers.patch
>...
>  Updated ATA Aggressive Link Power Management patches
>...


ata_scsi_link_pm_policy() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
91a4450d6bf353600316328f0a95299e8bb17ee0 
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index ce631eb..1db065c 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -121,7 +121,7 @@ static const struct {
 	{ MEDIUM_POWER, "medium_power" },
 };
 
-const char *ata_scsi_link_pm_policy(enum link_pm policy)
+static const char *ata_scsi_link_pm_policy(enum link_pm policy)
 {
 	int i;
 	char *name = NULL;


       reply	other threads:[~2007-08-14 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070809015106.cd0bfc53.akpm@linux-foundation.org>
2007-08-14 21:23 ` Adrian Bunk [this message]
2007-08-14 21:23 ` [-mm patch] unexport ide_acpi_set_state Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070814212259.GI18945@stusta.de \
    --to=bunk@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=htejun@gmail.com \
    --cc=jeff@garzik.org \
    --cc=kristen.c.accardi@intel.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).