From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Len Brown <lenb@kernel.org>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
Pavel Machek <pavel@ucw.cz>,
pm list <linux-pm@lists.linux-foundation.org>,
Greg KH <greg@kroah.com>, Adrian Bunk <bunk@kernel.org>
Subject: [PATCH 2/3] PM: Make suspend_device() static
Date: Sun, 3 Feb 2008 22:55:18 +0100 [thread overview]
Message-ID: <200802032255.19835.rjw@sisk.pl> (raw)
In-Reply-To: <200802032252.04852.rjw@sisk.pl>
From: Adrian Bunk <bunk@kernel.org>
suspend_device() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
344fcfcea0df8cbaa83e10d7e66b826ead67290b
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index 200ed5f..cfcc54f 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -414,7 +414,7 @@ EXPORT_SYMBOL_GPL(device_power_down);
* @dev: Device.
* @state: Power state device is entering.
*/
-int suspend_device(struct device *dev, pm_message_t state)
+static int suspend_device(struct device *dev, pm_message_t state)
{
int error = 0;
next prev parent reply other threads:[~2008-02-03 22:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 21:52 [PATCH 0/3] Suspend-related cleanups Rafael J. Wysocki
2008-02-03 21:53 ` [PATCH 1/3] PCI ACPI: Fix comment describing acpi_pci_choose_state Rafael J. Wysocki
2008-02-03 21:55 ` Rafael J. Wysocki [this message]
2008-02-19 19:43 ` patch driver-core-pm-make-suspend_device-static.patch added to gregkh-2.6 tree gregkh
2008-02-03 21:59 ` [PATCH 3/3] Documentation: Feature removal: Add deprecation of some hibernation ioctls Rafael J. Wysocki
2008-02-03 22:20 ` [PATCH 0/3] Suspend-related cleanups Pavel Machek
2008-02-15 20:22 ` Len Brown
2008-02-15 20:54 ` Rafael J. Wysocki
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=200802032255.19835.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=bunk@kernel.org \
--cc=greg@kroah.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=pavel@ucw.cz \
/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