[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080128221024.GO8767@does.not.exist>
Date: Tue, 29 Jan 2008 00:10:24 +0200
From: Adrian Bunk <bunk@...nel.org>
To: "Rafael J. Wysocki" <rjw@...k.pl>, pavel@...e.cz
Cc: linux-pm@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] make suspend_device() static
suspend_device() can become static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists