[PATCH 03/18] power: ab8500_charger: Detect charger removal

Anton Vorontsov anton.vorontsov at linaro.org
Tue Jan 15 20:36:40 EST 2013


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...



More information about the linux-arm-kernel mailing list