Commit 6a6ec8c1 authored by Alexandre Belloni's avatar Alexandre Belloni

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent bd01386e
...@@ -1857,7 +1857,8 @@ config RTC_DRV_HID_SENSOR_TIME ...@@ -1857,7 +1857,8 @@ config RTC_DRV_HID_SENSOR_TIME
config RTC_DRV_GOLDFISH config RTC_DRV_GOLDFISH
tristate "Goldfish Real Time Clock" tristate "Goldfish Real Time Clock"
depends on MIPS && (GOLDFISH || COMPILE_TEST) depends on OF && HAS_IOMEM
depends on GOLDFISH || COMPILE_TEST
help help
Say yes to enable RTC driver for the Goldfish based virtual platform. Say yes to enable RTC driver for the Goldfish based virtual platform.
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/rtc.h> #include <linux/rtc.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment