On 12 June 2017 at 03:58, Wadim Egorov <w.ego...@phytec.de> wrote:
> Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning:
>   ‘get_ldo_reg’ defined but not used [-Wunused-function]
>
> Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER
> which is only set for non SPL builds.
>
> Signed-off-by: Wadim Egorov <w.ego...@phytec.de>
> ---
>  drivers/power/regulator/rk8xx.c | 40 +++++++++++++++++++++-------------------
>  1 file changed, 21 insertions(+), 19 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to