]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/rtc/Kconfig
RTC Kconfig tweax
[mv-sheeva.git] / drivers / rtc / Kconfig
index 361b1f4feed0f381eec6d3c52bfb22ecfde1b3b3..25bea05ffaaab31256445e8eb18b1f153b6bef9a 100644 (file)
@@ -118,7 +118,7 @@ config RTC_DRV_TEST
          will be called rtc-test.
 
 comment "I2C RTC drivers"
          will be called rtc-test.
 
 comment "I2C RTC drivers"
-       depends on RTC_CLASS
+       depends on RTC_CLASS && I2C
 
 config RTC_DRV_DS1307
        tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"
 
 config RTC_DRV_DS1307
        tristate "Dallas/Maxim DS1307/37/38/39/40, ST M41T00"
@@ -213,11 +213,11 @@ config RTC_DRV_PCF8583
          will be called rtc-pcf8583.
 
 comment "SPI RTC drivers"
          will be called rtc-pcf8583.
 
 comment "SPI RTC drivers"
-       depends on RTC_CLASS
+       depends on RTC_CLASS && SPI_MASTER
 
 config RTC_DRV_RS5C348
        tristate "Ricoh RS5C348A/B"
 
 config RTC_DRV_RS5C348
        tristate "Ricoh RS5C348A/B"
-       depends on RTC_CLASS && SPI
+       depends on RTC_CLASS && SPI_MASTER
        help
          If you say yes here you get support for the
          Ricoh RS5C348A and RS5C348B RTC chips.
        help
          If you say yes here you get support for the
          Ricoh RS5C348A and RS5C348B RTC chips.
@@ -227,7 +227,7 @@ config RTC_DRV_RS5C348
 
 config RTC_DRV_MAX6902
        tristate "Maxim 6902"
 
 config RTC_DRV_MAX6902
        tristate "Maxim 6902"
-       depends on RTC_CLASS && SPI
+       depends on RTC_CLASS && SPI_MASTER
        help
          If you say yes here you will get support for the
          Maxim MAX6902 SPI RTC chip.
        help
          If you say yes here you will get support for the
          Maxim MAX6902 SPI RTC chip.