rtc: goldfish: remove dependency to OF
authorLaurent Vivier <laurent@vivier.eu>
Tue, 23 Mar 2021 22:14:29 +0000 (23:14 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 16 Apr 2021 20:25:20 +0000 (22:25 +0200)
We want to use the goldfish RTC on a machine without OF.
As there is no real dependency on it, remove the OF dependency from the
goldfish entry in Kconfig

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210323221430.3735147-2-laurent@vivier.eu
drivers/rtc/Kconfig

index 9a82cb5..993fd39 100644 (file)
@@ -1899,7 +1899,7 @@ config RTC_DRV_HID_SENSOR_TIME
 
 config RTC_DRV_GOLDFISH
        tristate "Goldfish Real Time Clock"
-       depends on OF && HAS_IOMEM
+       depends on HAS_IOMEM
        help
          Say yes to enable RTC driver for the Goldfish based virtual platform.