# Pastebin 0ISLRtW9 diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 05f4b2d66290d..e0910c027fe3f 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -325,6 +325,7 @@ config RTC_DRV_LP8788 config RTC_DRV_MAX6900 tristate "Maxim MAX6900" + depends on SH_SDK7786 || COMPILE_TEST help If you say yes here you will get support for the Maxim MAX6900 I2C RTC chip. @@ -493,6 +494,7 @@ config RTC_DRV_PCF8563 config RTC_DRV_PCF8583 tristate "Philips PCF8583" + depends on ARCH_RPC || COMPILE_TEST help If you say yes here you get support for the Philips PCF8583 RTC chip found on Acorn RiscPCs. This driver supports the @@ -620,6 +622,7 @@ config RTC_DRV_S35390A config RTC_DRV_FM3130 tristate "Ramtron FM3130" + depends on COMPILE_TEST help If you say Y here you will get support for the Ramtron FM3130 RTC chips. @@ -764,6 +767,7 @@ config RTC_DRV_DS1305 config RTC_DRV_DS1343 select REGMAP_SPI tristate "Dallas/Maxim DS1343/DS1344" + depends on COMPILE_TEST help If you say yes here you get support for the Dallas/Maxim DS1343 and DS1344 real time clock chips. @@ -820,6 +824,7 @@ config RTC_DRV_R9701 config RTC_DRV_RX4581 tristate "Epson RX-4581" + depends on COMPILE_TEST help If you say yes here you will get support for the Epson RX-4581. @@ -1195,7 +1200,7 @@ config RTC_DRV_MSM6242 config RTC_DRV_BQ4802 tristate "TI BQ4802" - depends on HAS_IOMEM && HAS_IOPORT + depends on SPARC || (HAS_IOMEM && HAS_IOPORT && COMPILE_TEST) help If you say Y here you will get support for the TI BQ4802 RTC chip.