
13 Jun
2017
13 Jun
'17
1:51 a.m.
On 12 June 2017 at 03:58, Wadim Egorov w.egorov@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.egorov@phytec.de
drivers/power/regulator/rk8xx.c | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org