[U-Boot] [PATCH v3 1/4] power-domain: add dummy functions when CONFIG_POWER_DOMAIN not defined

Anatolij Gustschin agust at denx.de
Mon Aug 6 10:17:02 UTC 2018


On Mon,  6 Aug 2018 12:02:45 +0200
Anatolij Gustschin agust at denx.de wrote:

> From: Peng Fan <peng.fan at nxp.com>
> 
> Add dummy functions when CONFIG_POWER_DOMAIN not defined.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Anatolij Gustschin <agust at 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 at denx.de, thanks!

--
Anatolij


More information about the U-Boot mailing list