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

From: Pavel Machek
Date: Mon May 07 2007 - 10:02:33 EST


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?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/