Commit 441fb768 authored by Jean Delvare's avatar Jean Delvare Committed by Linus Torvalds

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: default avatarJean Delvare <jdelvare@suse.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Jonas Jensen <jonas.jensen@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ad0200f7
...@@ -1349,6 +1349,7 @@ config RTC_DRV_SIRFSOC ...@@ -1349,6 +1349,7 @@ config RTC_DRV_SIRFSOC
config RTC_DRV_MOXART config RTC_DRV_MOXART
tristate "MOXA ART RTC" tristate "MOXA ART RTC"
depends on ARCH_MOXART || COMPILE_TEST
help help
If you say yes here you get support for the MOXA ART If you say yes here you get support for the MOXA ART
RTC module. RTC module.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment