[PATCH 03/18] power: ab8500_charger: Detect charger removal
Lee Jones
lee.jones at linaro.org
Wed Jan 16 03:48:34 EST 2013
On Tue, 15 Jan 2013, Anton Vorontsov wrote:
> On Fri, Jan 11, 2013 at 01:12:51PM +0000, Lee Jones wrote:
> > Add two new work queues to provide USB and AC charger disconnect
> > detection.
> >
> > Signed-off-by: Lee Jones <lee.jones at linaro.org>
> > ---
> [....]
> > + if ((statval & usbch)) != usbch)
>
> CC drivers/power/ab8500_charger.o
> drivers/power/ab8500_charger.c: In function ‘ab8500_charger_usb_attached_work’:
> drivers/power/ab8500_charger.c:1812:26: error: expected expression before ‘!=’ token
> drivers/power/ab8500_charger.c:1812:34: error: expected statement before ‘)’ token
> drivers/power/ab8500_charger.c: In function ‘ab8500_charger_ac_attached_work’:
> drivers/power/ab8500_charger.c:1852:27: error: expected expression before ‘!=’ token
> drivers/power/ab8500_charger.c:1852:36: error: expected statement before ‘)’ token
>
> I fixed it up...
You're a star.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
More information about the linux-arm-kernel
mailing list