summaryrefslogtreecommitdiffstats
path: root/drivers/power/bq2415x_charger.c
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2015-08-07 05:45:25 +0200
committerSebastian Reichel <sre@kernel.org>2015-08-07 07:04:56 +0200
commitb49d15d138aa4632f35a2db93dee775d920f3653 (patch)
treef273623e7839667c5de84ecb36406d5a85d34f60 /drivers/power/bq2415x_charger.c
parentpower: bq24190_charger: Fix charge type sysfs property (diff)
downloadlinux-b49d15d138aa4632f35a2db93dee775d920f3653.tar.xz
linux-b49d15d138aa4632f35a2db93dee775d920f3653.zip
twl4030_charger: fix compile error when TWL4030_MADC not available.
We can only use the madc to check for 'ac' availability if the madc has been compiled in. If not: assume always using USB. Reported-by: Tony Lindgren <tony@atomide.com> Signed-off-by: NeilBrown <neil@brown.name> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/bq2415x_charger.c')
0 files changed, 0 insertions, 0 deletions