diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2015-09-05 01:32:34 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-09-10 22:13:11 +0200 |
commit | e11fc21e756e662e465cac3da6547d438d0b1446 (patch) | |
tree | e90af454a7dd75249ea7d017e2ce1a8b9107b62f /drivers/power/pm2301_charger.h | |
parent | Revert "twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy... (diff) | |
download | linux-e11fc21e756e662e465cac3da6547d438d0b1446.tar.xz linux-e11fc21e756e662e465cac3da6547d438d0b1446.zip |
twl4030_charger: fix another compile error
When CONFIG_CHARGER_TWL4030=y and CONFIG_TWL4030_MADC=m we get a
compile error:
drivers/built-in.o: In function `twl4030_charger_update_current':
twl4030_charger.c:(.text+0x504681): undefined reference to
`twl4030_get_madc_conversion'
Use IS_REACHABLE to fix it.
Cc: NeilBrown <neil@brown.name>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/pm2301_charger.h')
0 files changed, 0 insertions, 0 deletions