Messages in this thread | | | Date | Mon, 21 Jan 2008 23:37:56 +0100 | From | Pavel Machek <> | Subject | Re: 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
| |