Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-07-04 Thread Philipp Tomsich
> 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 
> Reviewed-by: Simon Glass 
> Acked-by: Philipp Tomsich 
> Reviewed-by: Philipp Tomsich 
> ---
> Changes in v4:
> - Added Reviewed-by: Simon Glass 
> 
>  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


Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-06-26 Thread Philipp Tomsich
> 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 
> Reviewed-by: Simon Glass 
> Acked-by: Philipp Tomsich 
> ---
> Changes in v4:
> - Added Reviewed-by: Simon Glass 
> 
>  drivers/power/regulator/rk8xx.c | 40 +---
>  1 file changed, 21 insertions(+), 19 deletions(-)
> 

Reviewed-by: Philipp Tomsich 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-06-25 Thread Philipp Tomsich
> 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 
> Reviewed-by: Simon Glass 
> ---
> Changes in v4:
> - Added Reviewed-by: Simon Glass 
> 
>  drivers/power/regulator/rk8xx.c | 40 +---
>  1 file changed, 21 insertions(+), 19 deletions(-)
> 

Acked-by: Philipp Tomsich 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot