suspend_enter() can now become static.
Signed-off-by: Adrian Bunk <[email protected]>
---
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]