[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070507140148.GC3868@ucw.cz>
Date: Mon, 7 May 2007 14:01:48 +0000
From: Pavel Machek <pavel@....cz>
To: Anton Vorontsov <cbou@...l.ru>
Cc: Greg KH <gregkh@...e.de>, linux-kernel@...r.kernel.org,
kernel-discuss@...dhelds.org, David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH 5/8] APM emulation driver for class batteries
Hi!
> Signed-off-by: Anton Vorontsov <cbou@...l.ru>
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists