summaryrefslogtreecommitdiff
path: root/kernel/kexec_core.c
diff options
context:
space:
mode:
authorMarek Belisko <marek@goldelico.com>2015-09-25 22:20:45 +0200
committerSebastian Reichel <sre@kernel.org>2015-09-26 19:10:09 +0200
commit2202e1fc5a29eab13fab31d287dd2019dc9edaa6 (patch)
tree15f4109443ee7beb4bce172e50668a68480b1caa /kernel/kexec_core.c
parentaf19161aaed7ff8d1a52b2e517460f2fa0774e32 (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