lkml.org 
[lkml]   [2008]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: echo mem > /sys/power/state
Hi!

> > index f7dfff2..e5693d6 100644
> > --- a/kernel/power/Makefile
> > +++ b/kernel/power/Makefile
> > @@ -5,7 +5,7 @@ endif
> >
> > obj-y := main.o
> > obj-$(CONFIG_PM_LEGACY) += pm.o
> > -obj-$(CONFIG_PM_SLEEP) += process.o console.o
> > +obj-$(CONFIG_PM_SLEEP) += process.o console.o sleepy.o
>
> Why compiling it uncoditionally? What would be wrong with

Its part of my world domination plan ;-).

> > +extern int set_alarm(int length);
>
> Huh?

Set alarm belongs in drivers/rtc, moved now.

> > + alarm = now+length;
> > + rtc_time_to_tm(alarm, &alm.time);
> > +
> > + retval = cmos_set_alarm(rtc, &alm);
>
> cmos_set_alarm() takes a struct device * too.

Fixed.

Thanks,
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-01-21 23:39    [W:0.101 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site