From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Mon, 6 Aug 2018 12:17:02 +0200 Subject: [U-Boot] [PATCH v3 1/4] power-domain: add dummy functions when CONFIG_POWER_DOMAIN not defined In-Reply-To: <20180806100245.6002-1-agust@denx.de> References: <20180806100245.6002-1-agust@denx.de> Message-ID: <20180806121702.5efec26c@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 6 Aug 2018 12:02:45 +0200 Anatolij Gustschin agust at denx.de wrote: > From: Peng Fan > > Add dummy functions when CONFIG_POWER_DOMAIN not defined. > > Signed-off-by: Peng Fan > Reviewed-by: Simon Glass > Signed-off-by: Anatolij Gustschin > --- > > 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