rtc: tx4939: extend test coverage
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 12 Feb 2018 22:47:56 +0000 (23:47 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 1 Mar 2018 09:49:34 +0000 (10:49 +0100)
The rtc-tx4939 driver now compiles correctly on other architectures, add
COMPILE_TEST to improve code coverage.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index 8ab5f0a..f6d7e49 100644 (file)
@@ -1512,7 +1512,7 @@ config RTC_DRV_STARFIRE
 
 config RTC_DRV_TX4939
        tristate "TX4939 SoC"
-       depends on SOC_TX4939
+       depends on SOC_TX4939 || COMPILE_TEST
        help
          Driver for the internal RTC (Realtime Clock) module found on
          Toshiba TX4939 SoC.