[PATCH v2] regulator: provide regulator_get_name() stub for !CONFIG_REGULATOR

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 15 08:35:59 EDT 2020


On Tue, Sep 15, 2020 at 11:44:17AM +0200, Ahmad Fatoum wrote:
> Otherwise users of this function run into a link error when regulator
> support is compiled out.
> 
> Reported-by: Roland Hieber <rhi at pengutronix.de>
> Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
> ---
> Forgot to commit a deleted semicolon..
> ---
>  include/regulator.h | 5 +++++
>  1 file changed, 5 insertions(+)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list