[PATCH v3] drivers: power: twl4030_charger: fix link problems when building as module
Sebastian Reichel
sre at kernel.org
Sat Sep 26 10:23:54 PDT 2015
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 <hns at goldelico.com>
> Signed-off-by: Marek Belisko <marek at goldelico.com>
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>
More information about the linux-arm-kernel
mailing list