Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5663c14b4f3e22aece38970f9765ceb090efbb8c
Commit:     5663c14b4f3e22aece38970f9765ceb090efbb8c
Parent:     4c4e139ee9d5169ba75a1b918949d95323bc17ea
Author:     David Brownell <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 04:05:02 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 17 10:23:09 2007 -0700

    RTC Kconfig tweax
    
    Minor fix to the Kconfig for RTCs: don't display section headers for I2C or
    SPI unless they're configured.  And depend on SPI_MASTER; having slave
    support wouldn't help.
    
    Signed-off-by: David Brownell <[EMAIL PROTECTED]>
    Acked-by: Alessandro Zummo <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/rtc/Kconfig |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 361b1f4..25bea05 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -118,7 +118,7 @@ config RTC_DRV_TEST
          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"
@@ -213,11 +213,11 @@ config RTC_DRV_PCF8583
          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"
-       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.
@@ -227,7 +227,7 @@ config RTC_DRV_RS5C348
 
 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.
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to