[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191030133256.14612-1-yuehaibing@huawei.com>
Date: Wed, 30 Oct 2019 21:32:56 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <a.zummo@...ertech.it>, <alexandre.belloni@...tlin.com>
CC: <linux-rtc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] rtc: fsl-ftm-alarm: Fix build error without PM_SLEEP
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@...wei.com>
Fixes: e1c2feb1efa2 ("rtc: fsl-ftm-alarm: allow COMPILE_TEST")
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/rtc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 4185b0d..2bbf8ae 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1326,6 +1326,7 @@ config RTC_DRV_IMXDI
config RTC_DRV_FSL_FTM_ALARM
tristate "Freescale FlexTimer alarm timer"
depends on ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
+ depends on PM_SLEEP
select FSL_RCPM
default y
help
--
2.7.4
Powered by blists - more mailing lists