commit | b49d15d138aa4632f35a2db93dee775d920f3653 | [log] [tgz] |
---|---|---|
author | NeilBrown <neil@brown.name> | Fri Aug 07 13:45:25 2015 +1000 |
committer | Sebastian Reichel <sre@kernel.org> | Fri Aug 07 07:04:56 2015 +0200 |
tree | f273623e7839667c5de84ecb36406d5a85d34f60 | |
parent | c9f85a90d41476aca2d3b60f98ab87d7ae1b8612 [diff] |
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>