rtc: goldfish: Remove GOLDFISH dependency
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sat, 14 Nov 2020 13:09:20 +0000 (21:09 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Nov 2020 23:36:26 +0000 (00:36 +0100)
Goldfish platform is covered with dust.
However the goldfish-rtc had been used as virtualized RTC
in QEMU for RISC-V virt hw and MIPS loongson3-virt hw, thus
we can drop other parts of goldfish but leave goldfish-rtc here.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201114130921.651882-2-jiaxun.yang@flygoat.com
drivers/rtc/Kconfig

index 65ad9d0b47ab190640155fe84b044116f69bf515..f784b52381b1a130cbf27c3919114fd16f077818 100644 (file)
@@ -1935,7 +1935,6 @@ config RTC_DRV_HID_SENSOR_TIME
 config RTC_DRV_GOLDFISH
        tristate "Goldfish Real Time Clock"
        depends on OF && HAS_IOMEM
-       depends on GOLDFISH || COMPILE_TEST
        help
          Say yes to enable RTC driver for the Goldfish based virtual platform.