diff options
author | Marek Belisko <marek@goldelico.com> | 2015-09-25 22:20:45 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-09-26 19:10:09 +0200 |
commit | 2202e1fc5a29eab13fab31d287dd2019dc9edaa6 (patch) | |
tree | 15f4109443ee7beb4bce172e50668a68480b1caa /kernel/kexec_core.c | |
parent | af19161aaed7ff8d1a52b2e517460f2fa0774e32 (diff) |
drivers: power: twl4030_charger: fix link problems when building as module
If either twl4030_charger or twl4030_madc is configured as MODULE,
we get build (link) errors.
To solve, the direct call of twl4030_get_madc_conversion() is replaced
by a call to iio_read_channel_processed().
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'kernel/kexec_core.c')
0 files changed, 0 insertions, 0 deletions