From fdf8afa188595e2f6c39f6a05ea147f48621a996 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 6 May 2015 09:24:42 +0200 Subject: [PATCH] rtc: xgene: Set hardware dependency The rtc-xgene driver is only useful on X-Gene SoC. Signed-off-by: Jean Delvare Cc: Alessandro Zummo Cc: Alexandre Belloni Cc: Iyappan Subramanian Cc: Keyur Chudgar Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 0fe4ad8826b2..b957b4f67f0f 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1533,6 +1533,7 @@ config RTC_DRV_MOXART config RTC_DRV_XGENE tristate "APM X-Gene RTC" depends on HAS_IOMEM + depends on ARCH_XGENE || COMPILE_TEST help If you say yes here you get support for the APM X-Gene SoC real time clock. -- 2.20.1