public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make kernel/power/main.c:suspend_enter() static
@ 2007-07-29 14:57 Adrian Bunk
  2007-07-29 16:35 ` Rafael J. Wysocki
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2007-07-29 14:57 UTC (permalink / raw)
  To: pavel, rjw; +Cc: linux-pm, linux-kernel

suspend_enter() can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 kernel/power/main.c  |    2 +-
 kernel/power/power.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.23-rc1-mm1/kernel/power/power.h.old	2007-07-26 14:49:29.000000000 +0200
+++ linux-2.6.23-rc1-mm1/kernel/power/power.h	2007-07-26 14:49:36.000000000 +0200
@@ -177,7 +177,6 @@
 				unsigned int, char *);
 
 /* kernel/power/main.c */
-extern int suspend_enter(suspend_state_t state);
 extern int suspend_devices_and_enter(suspend_state_t state);
 extern struct blocking_notifier_head pm_chain_head;
 
--- linux-2.6.23-rc1-mm1/kernel/power/main.c.old	2007-07-26 14:49:44.000000000 +0200
+++ linux-2.6.23-rc1-mm1/kernel/power/main.c	2007-07-26 14:50:05.000000000 +0200
@@ -120,7 +120,7 @@
  *
  *	This function should be called after devices have been suspended.
  */
-int suspend_enter(suspend_state_t state)
+static int suspend_enter(suspend_state_t state)
 {
 	int error = 0;
 

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [2.6 patch] make kernel/power/main.c:suspend_enter() static
@ 2007-08-14 21:26 Adrian Bunk
  0 siblings, 0 replies; 5+ messages in thread
From: Adrian Bunk @ 2007-08-14 21:26 UTC (permalink / raw)
  To: Andrew Morton, pavel, Rafael J. Wysocki; +Cc: linux-pm, linux-kernel

suspend_enter() can now become static.

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

---

This patch has been sent on:
- 29 Jul 2007

--- linux-2.6.23-rc1-mm1/kernel/power/main.c.old	2007-07-26 14:49:44.000000000 +0200
+++ linux-2.6.23-rc1-mm1/kernel/power/main.c	2007-07-26 14:50:05.000000000 +0200
@@ -120,7 +120,7 @@
  *
  *	This function should be called after devices have been suspended.
  */
-int suspend_enter(suspend_state_t state)
+static int suspend_enter(suspend_state_t state)
 {
 	int error = 0;
 

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <20070814212626.GB18945@stusta.de>]

end of thread, other threads:[~2007-08-16  9:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-29 14:57 [2.6 patch] make kernel/power/main.c:suspend_enter() static Adrian Bunk
2007-07-29 16:35 ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2007-08-14 21:26 Adrian Bunk
     [not found] <20070814212626.GB18945@stusta.de>
2007-08-15 11:25 ` Rafael J. Wysocki
2007-08-16  9:09 ` Pavel Machek

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