From 441fb7684782be3553c67dc04defcf304b999bba Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 8 Aug 2014 14:20:05 -0700 Subject: drivers/rtc/Kconfig: add hardware dependency to rtc-moxart The rtc-moxart driver is only useful on MOXA ART systems so it should depend on ARCH_MOXART as all other MOXA ART drivers already do. Add COMPILE_TEST as an alternative to allow for build testing on other systems. Signed-off-by: Jean Delvare Cc: Alessandro Zummo Cc: Jonas Jensen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/rtc/Kconfig') diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 2d99bf60db2f..a672dd16da62 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1349,6 +1349,7 @@ config RTC_DRV_SIRFSOC config RTC_DRV_MOXART tristate "MOXA ART RTC" + depends on ARCH_MOXART || COMPILE_TEST help If you say yes here you get support for the MOXA ART RTC module. -- cgit v1.2.3