[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200707291835.20105.rjw@sisk.pl>
Date: Sun, 29 Jul 2007 18:35:19 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Adrian Bunk <bunk@...sta.de>
Cc: pavel@...e.cz, linux-pm@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] make kernel/power/main.c:suspend_enter() static
On Sunday, 29 July 2007 16:57, Adrian Bunk wrote:
> suspend_enter() can now become static.
>
> Signed-off-by: Adrian Bunk <bunk@...sta.de>
>
> ---
Acked-by: Rafael J. Wysocki <rjw@...k.pl>
> 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;
>
>
>
>
--
"Premature optimization is the root of all evil." - Donald Knuth
-
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