On Sunday, 29 July 2007 16:57, Adrian Bunk wrote: > suspend_enter() can now become static. > > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx> > > --- Acked-by: Rafael J. Wysocki <rjw@xxxxxxx> > 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 _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm