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

From: Anton Vorontsov
Date: Mon May 07 2007 - 10:16:40 EST


On Mon, May 07, 2007 at 02:01:48PM +0000, Pavel Machek wrote:
> Hi!
>
> > Signed-off-by: Anton Vorontsov <cbou@xxxxxxx>
> > ---
> > 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: cbou@xxxxxxx
backup email: ya-cbou@xxxxxxxxx
irc://irc.freenode.org/bd2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/