From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Adrian Bunk <bunk@stusta.de>
Cc: pavel@suse.cz, linux-pm@lists.linux-foundation.org,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] make kernel/power/main.c:suspend_enter() static
Date: Sun, 29 Jul 2007 18:35:19 +0200 [thread overview]
Message-ID: <200707291835.20105.rjw@sisk.pl> (raw)
In-Reply-To: <20070729145742.GP16817@stusta.de>
On Sunday, 29 July 2007 16:57, Adrian Bunk wrote:
> suspend_enter() can now become static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
Acked-by: Rafael J. Wysocki <rjw@sisk.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
next prev parent reply other threads:[~2007-07-29 16:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2007-07-29 16:35 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2007-08-14 21:26 Adrian Bunk
2007-08-14 21:26 Adrian Bunk
2007-08-15 11:25 ` Rafael J. Wysocki
2007-08-15 11:25 ` Rafael J. Wysocki
2007-08-16 9:09 ` Pavel Machek
2007-08-16 9:09 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200707291835.20105.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=pavel@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.