Message ID | 20140521152305.186f071a@endymion.delvare |
---|---|
State | Accepted |
Headers | show |
--- linux-3.15-rc5.orig/drivers/rtc/Kconfig 2014-05-20 21:02:04.672021774 +0200 +++ linux-3.15-rc5/drivers/rtc/Kconfig 2014-05-21 15:20:03.001713405 +0200 @@ -1320,6 +1320,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.
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> --- drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+)