login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
29
Re: [2.6 patch] make kernel/power/main.c:suspend_enter() static
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Rafael J. Wysocki <rjw@...>
To: Adrian Bunk <bunk@...>
Cc: <pavel@...>, <linux-pm@...>, <linux-kernel@...>
Subject:
Re: [2.6 patch] make kernel/power/main.c:suspend_enter() static
Date: Sunday, July 29, 2007 - 12:35 pm
On Sunday, 29 July 2007 16:57, Adrian Bunk wrote:
quoted text
> suspend_enter() can now become static. > > Signed-off-by: Adrian Bunk <bunk@stusta.de> > > ---
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
quoted text
> 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 -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[2.6 patch] make kernel/power/main.c:suspend_enter() static
, Adrian Bunk
, (Sun Jul 29, 10:57 am)
Re: [2.6 patch] make kernel/power/main.c:suspend_enter() sta...
, Rafael J. Wysocki
, (Sun Jul 29, 12:35 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Roland Dreier
Re: Integration of SCST in the mainstream Linux kernel
Andrew Morton
Re: 2.6.24-rc3-mm1 make headers_check fails
git
:
linux-netdev
:
Ingo Molnar
iwlwifi: fix build bug in "iwlwifi: fix LED stall"
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
604 guests
online.
Online users
morelmushroom
Syndicate