diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-03-20 13:34:15 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-04 10:07:08 +0200 |
commit | 6a6ec8c15d35815af1ca83e269f48944c49aff9b (patch) | |
tree | 8de9b5de347d3da82f2eb374b8ea13a9007d1652 /drivers/rtc/Kconfig | |
parent | bd01386e2c28c8565937a7a13129c30757db9bc5 (diff) | |
download | lwn-6a6ec8c15d35815af1ca83e269f48944c49aff9b.tar.gz lwn-6a6ec8c15d35815af1ca83e269f48944c49aff9b.zip |
rtc: goldfish: allow building on more than MIPS
Goldfish can be ARM or x86, allow building the driver for more than just
MIPS.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index a71734c41693..805e4ace30ca 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1857,7 +1857,8 @@ config RTC_DRV_HID_SENSOR_TIME config RTC_DRV_GOLDFISH tristate "Goldfish Real Time Clock" - depends on MIPS && (GOLDFISH || COMPILE_TEST) + depends on OF && HAS_IOMEM + depends on GOLDFISH || COMPILE_TEST help Say yes to enable RTC driver for the Goldfish based virtual platform. |