Re: Using POWER or APM for battery handling

From: Anton Vorontsov
Date: Fri Mar 27 2009 - 16:55:31 EST


On Fri, Mar 27, 2009 at 09:41:06PM +0100, Kristoffer Ericson wrote:
[...]
> > The driver is already there:
> > drivers/power/apm_power.c
> >
> > So all you need is Jornada driver for the power supply class,
> > and then apm_power.c will work for your battery driver.
> >
> > Feel free to ask if there is anything still not clear.
>
> Great!
>
> I think I understand, but should I create this driver
> inside /drivers/power or inside the mach folder (in this case arch/arm/mach-sa1100)?

I would prefer drivers/power/.

Thanks,

--
Anton Vorontsov
email: cbouatmailru@xxxxxxxxx
irc://irc.freenode.net/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/