Re: [PATCH 5/8] APM emulation driver for class batteries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 07, 2007 at 02:01:48PM +0000, Pavel Machek wrote:
> Hi!
> 
> > Signed-off-by: Anton Vorontsov <[email protected]>
> > ---
> >  drivers/power/Kconfig     |    7 ++
> >  drivers/power/Makefile    |    1 +
> >  drivers/power/apm_power.c |  249 +++++++++++++++++++++++++++++++++++++++++++++
> >  3 files changed, 257 insertions(+), 0 deletions(-)
> >  create mode 100644 drivers/power/apm_power.c
> > 
> 
> > +#ifdef current
> > +#undef current /* it expands to get_current() */
> > +#endif
> 
> Uff, now that's a dirty hack. Can you rename your variables? current
> -> I?

Thanks, will try to cook something.

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

-- 
Anton Vorontsov
email: [email protected]
backup email: [email protected]
irc://irc.freenode.org/bd2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux