aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-08-08 17:20:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 18:57:19 -0400
commit441fb7684782be3553c67dc04defcf304b999bba (patch)
treea134f09090b67d64a86b4c2c53ecc2682e0edf22 /drivers/rtc
parentad0200f72d9875caa2023c59240ee677df66918e (diff)
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 <jdelvare@suse.de> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Jonas Jensen <jonas.jensen@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
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
1349 1349
1350config RTC_DRV_MOXART 1350config RTC_DRV_MOXART
1351 tristate "MOXA ART RTC" 1351 tristate "MOXA ART RTC"
1352 depends on ARCH_MOXART || COMPILE_TEST
1352 help 1353 help
1353 If you say yes here you get support for the MOXA ART 1354 If you say yes here you get support for the MOXA ART
1354 RTC module. 1355 RTC module.