drivers/rtc/Kconfig: add hardware dependency to rtc-moxart
[deliverable/linux.git] / drivers / rtc / Kconfig
index 0754f5c7cb3b9c9683555fc0275537700d1c03bc..a672dd16da62b20be104045d728708afbc5fa99a 100644 (file)
@@ -760,6 +760,15 @@ config RTC_DRV_DS1742
          This driver can also be built as a module. If so, the module
          will be called rtc-ds1742.
 
+config RTC_DRV_DS2404
+       tristate "Maxim/Dallas DS2404"
+       help
+         If you say yes here you get support for the
+         Dallas DS2404 RTC chip.
+
+         This driver can also be built as a module. If so, the module
+         will be called rtc-ds2404.
+
 config RTC_DRV_DA9052
        tristate "Dialog DA9052/DA9053 RTC"
        depends on PMIC_DA9052
@@ -873,15 +882,6 @@ config RTC_DRV_V3020
          This driver can also be built as a module. If so, the module
          will be called rtc-v3020.
 
-config RTC_DRV_DS2404
-       tristate "Dallas DS2404"
-       help
-         If you say yes here you get support for the
-         Dallas DS2404 RTC chip.
-
-         This driver can also be built as a module. If so, the module
-         will be called rtc-ds2404.
-
 config RTC_DRV_WM831X
        tristate "Wolfson Microelectronics WM831x RTC"
        depends on MFD_WM831X
@@ -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.
This page took 0.027045 seconds and 5 git commands to generate.