Re: [PATCH] power-supply: Add function to return system-wide power state

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Garrett <mjg59@...>
Cc: <linux-kernel@...>
Date: Sunday, August 31, 2008 - 7:14 pm

On Tue, Aug 26, 2008 at 09:33:27PM +0100, Matthew Garrett wrote:

I just applied it to battery-2.6.git with the following changes:

[...]

-()
+(void)

[...]

Added || defined(CONFIG_POWER_SUPPLY_MODULE)

> +extern int power_supply_is_system_supplied(void);

Added inline keyword, otherwise gcc might warn about defined but
not used function.

Please test battery-2.6.git tree (or simply next `-next` tree ;-)
if everything is okay.

Thanks again!

--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] power-supply: Add function to return system-wide..., Anton Vorontsov, (Sun Aug 31, 7:14 pm)