Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1633616
| From | Sebastian Reichel <sebastian.reichel@collabora.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] power: supply: axp20x_usb_power: add IIO dependency |
| Date | 2017-05-01 13:40 +0200 |
| Message-ID | <tChQm-8m-19@gated-at.bofh.it> (permalink) |
| References | <tAX7j-4Xl-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi,
On Thu, Apr 27, 2017 at 09:11:48PM +0200, Arnd Bergmann wrote:
> When CONFIG_IIO=m and the axp20x_usb_power driver is built-in, we get
> a link time error:
>
> drivers/power/built-in.o: In function `axp20x_usb_power_get_property':
> undefined reference to `iio_read_channel_processed'
> drivers/power/built-in.o: In function `axp20x_usb_power_probe':
> undefined reference to `devm_iio_channel_get'
> undefined reference to `devm_iio_channel_get'
>
> This adds the same dependency that we already have for the AC power driver
> to the USB power driver. For consistency, I'm also moving the two closer
> together in the Kconfig file.
>
> Fixes: 33863c938caa ("power: supply: axp20x_usb_power: use IIO channels when available")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks, queued.
-- Sebastian
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] power: supply: axp20x_usb_power: add IIO dependency Arnd Bergmann <arnd@arndb.de> - 2017-04-27 21:20 +0200 Re: [PATCH] power: supply: axp20x_usb_power: add IIO dependency Sebastian Reichel <sebastian.reichel@collabora.co.uk> - 2017-05-01 13:40 +0200
csiph-web