diff options
author | Wadim Egorov <w.egorov@phytec.de> | 2017-06-19 10:36:38 (GMT) |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2017-07-11 13:23:37 (GMT) |
commit | 8926c2f5841148ba0f1b67bb71314797e45229c2 (patch) | |
tree | c953b8a2bbb850f73bb3038e9940862e438d291b /common/env_nand.c | |
parent | f6f47c2ee103094f31fc6f5fb94bfb73de028de0 (diff) | |
download | u-boot-8926c2f5841148ba0f1b67bb71314797e45229c2.tar.xz |
power: regulator: rk8xx: Build get_ldo_reg only for SPL
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'common/env_nand.c')
0 files changed, 0 insertions, 0 deletions