The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [2.6 patch] make suspend_device() static
@ 2008-01-28 22:10 Adrian Bunk
  2008-01-28 22:21 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-28 22:10 UTC (permalink / raw)
  To: Rafael J. Wysocki, pavel; +Cc: linux-pm, linux-kernel

suspend_device() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.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;
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-28 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 22:10 [2.6 patch] make suspend_device() static Adrian Bunk
2008-01-28 22:21 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox