rtc: msc313: Select by default on MSTARV7
authorDaniel Palmer <daniel@0x0f.com>
Mon, 13 Jul 2026 13:39:19 +0000 (22:39 +0900)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 24 Aug 2026 12:56:17 +0000 (14:56 +0200)
All of the ARCH_MSTARV7 chips have this RTC so it's more likely
ARCH_MSTARV7 wants it than doesn't.

At the same time fix up the indent on the depends on line that looks
like it got converted from a tab to spaces at some point.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Link: https://patch.msgid.link/20260713133919.1356748-1-daniel@thingy.jp
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index d23a0fb..05b9233 100644 (file)
@@ -2107,7 +2107,8 @@ config RTC_DRV_MACSMC
 
 config RTC_DRV_MSC313
        tristate "MStar MSC313 RTC"
-        depends on ARCH_MSTARV7 || COMPILE_TEST
+       depends on ARCH_MSTARV7 || COMPILE_TEST
+       default ARCH_MSTARV7
        help
          If you say yes here you get support for the Mstar MSC313e On-Chip
          Real Time Clock.