
6 Aug
2018
6 Aug
'18
12:17 p.m.
On Mon, 6 Aug 2018 12:02:45 +0200 Anatolij Gustschin agust@denx.de wrote:
From: Peng Fan peng.fan@nxp.com
Add dummy functions when CONFIG_POWER_DOMAIN not defined.
Signed-off-by: Peng Fan peng.fan@nxp.com Reviewed-by: Simon Glass sjg@chromium.org Signed-off-by: Anatolij Gustschin agust@denx.de
V3:
- add 'static inline' to fix build breakage
- use -ENOSYS as we do elsewhere to indicate not implemented functionality
V2: Use CONFIG_IS_ENABLED
include/power-domain.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
Applied to u-boot-staging/agust@denx.de, thanks!
-- Anatolij