From: YueHaibing <yuehaibing@huawei.com>
To: <a.zummo@towertech.it>, <alexandre.belloni@bootlin.com>
Cc: <linux-rtc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
YueHaibing <yuehaibing@huawei.com>
Subject: [PATCH -next] rtc: fsl-ftm-alarm: Fix build error without PM_SLEEP
Date: Wed, 30 Oct 2019 21:32:56 +0800 [thread overview]
Message-ID: <20191030133256.14612-1-yuehaibing@huawei.com> (raw)
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@huawei.com>
Fixes: e1c2feb1efa2 ("rtc: fsl-ftm-alarm: allow COMPILE_TEST")
Signed-off-by: YueHaibing <yuehaibing@huawei.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
next reply other threads:[~2019-10-30 13:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-30 13:32 YueHaibing [this message]
2019-10-30 15:48 ` [PATCH -next] rtc: fsl-ftm-alarm: Fix build error without PM_SLEEP Alexandre Belloni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191030133256.14612-1-yuehaibing@huawei.com \
--to=yuehaibing@huawei.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).