Re: Using POWER or APM for battery handling
From: Kristoffer Ericson
Date: Fri Mar 27 2009 - 16:58:33 EST
On Fri, 27 Mar 2009 23:55:13 +0300
Anton Vorontsov <avorontsov@xxxxxxxxxxxxx> wrote:
> 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/.
roger, big thanks for help.
>
> Thanks,
>
> --
> Anton Vorontsov
> email: cbouatmailru@xxxxxxxxx
> irc://irc.freenode.net/bd2
--
Kristoffer Ericson <kristoffer.ericson@xxxxxxxxx>
Attachment:
pgp00000.pgp
Description: PGP signature