[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170501113425.gykyrjzjmr5jazqm@earth>
Date: Mon, 1 May 2017 13:34:25 +0200
From: Sebastian Reichel <sebastian.reichel@...labora.co.uk>
To: Arnd Bergmann <arnd@...db.de>
Cc: Quentin Schulz <quentin.schulz@...e-electrons.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: axp20x_usb_power: add IIO dependency
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@...db.de>
Thanks, queued.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists