[Suspend2-devel] more pm_message_t patches
Alex Yustasov
yust at anti-leasure.ru
Sat Jun 11 20:59:32 UTC 2005
On Sat, Jun 11, 2005 at 11:12:48PM +0300, Alex Yustasov wrote:
> On Thu, Jun 09, 2005 at 06:12:13PM +0200, Johannes Berg wrote:
> > On Thu, 2005-06-09 at 18:01 +0200, Johannes Berg wrote:
> > > This one fixes another 2 compilation warnings (not errors because the
> > > arguments are not used).
> >
> > Woohoo, I got more. Sorry for the spam. I just find them as I compile.
> >
> > --- ./drivers/cpufreq/cpufreq.c.orig 2005-06-09 18:07:43.441853885 +0200
> > +++ ./drivers/cpufreq/cpufreq.c 2005-06-09 18:08:49.521062302 +0200
> > @@ -869,7 +869,7 @@
> > * cpufreq_suspend - let the low level driver prepare for suspend
> > */
> >
> > -static int cpufreq_suspend(struct sys_device * sysdev, u32 state)
> > +static int cpufreq_suspend(struct sys_device * sysdev, pm_message_t state)
>
> Suspend for sys_device is called by sysdev_suspend from drivers/base/sys.c.
> u32 state;
> drv->suspend(sysdev, state);
Excuse me. It is in 2.6.11.
More information about the TuxOnIce-devel
mailing list