rtc: RTC_DRV_SPEAR should not default to y when compile-testing
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 3 Dec 2024 16:25:05 +0000 (17:25 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 9 Jan 2025 17:14:30 +0000 (18:14 +0100)
Merely enabling compile-testing should not enable additional
functionality.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/7b8eefe3b0150101ba01c3ea55e45aa3134059ba.1733243007.git.geert+renesas@glider.be
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index a60bcc791a4803b78da3da31b9889b2a214954e1..0bbbf778ecfa3e4ca54007b51eb2f760b92808c5 100644 (file)
@@ -1316,7 +1316,7 @@ config RTC_DRV_SC27XX
 config RTC_DRV_SPEAR
        tristate "SPEAR ST RTC"
        depends on PLAT_SPEAR || COMPILE_TEST
-       default y
+       default PLAT_SPEAR
        help
         If you say Y here you will get support for the RTC found on
         spear