[PATCH v3] drivers: power: twl4030_charger: fix link problems when building as module
From: sre@kernel.org (Sebastian Reichel)
Date: 2015-09-26 17:24:02
Also in:
linux-devicetree, linux-pm, lkml
From: sre@kernel.org (Sebastian Reichel)
Date: 2015-09-26 17:24:02
Also in:
linux-devicetree, linux-pm, lkml
Hi Marek, On Fri, Sep 25, 2015 at 10:20:45PM +0200, Marek Belisko wrote:
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 <redacted> Signed-off-by: Marek Belisko <redacted>
Thanks, queued for 4.4 together with the DT binding patch. -- Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150926/8cdd8bc4/attachment.sig>