Re: [PATCH -next] rtc: fsl-ftm-alarm: Fix build error without PM_SLEEP

From: Alexandre Belloni
Date: Wed Oct 30 2019 - 11:48:48 EST


On 30/10/2019 21:32:56+0800, YueHaibing wrote:
> When do randbuild, Kconfig warning this:
>
> WARNING: unmet direct dependencies detected for FSL_RCPM
> Depends on [n]: PM_SLEEP [=y] && (ARM || ARM64)
> Selected by [y]:
> - RTC_DRV_FSL_FTM_ALARM [=y] && RTC_CLASS [=y] && (ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST [=y])
>
> Add PM_SLEEP dependency to fix this.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Fixes: e1c2feb1efa2 ("rtc: fsl-ftm-alarm: allow COMPILE_TEST")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> drivers/rtc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com