> 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> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > Changes in v4: > - Added Reviewed-by: Simon Glass <s...@chromium.org> > > drivers/power/regulator/rk8xx.c | 40 +++++++++++++++++++++------------------- > 1 file changed, 21 insertions(+), 19 deletions(-) >
Applied to u-boot-rockchip/next, thanks!
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot