aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-goldfish.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-03-20 13:34:15 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-04 10:07:08 +0200
commit6a6ec8c15d35815af1ca83e269f48944c49aff9b (patch)
tree8de9b5de347d3da82f2eb374b8ea13a9007d1652 /drivers/rtc/rtc-goldfish.c
parentrtc: goldfish: sort headers (diff)
downloadlinux-dev-6a6ec8c15d35815af1ca83e269f48944c49aff9b.tar.xz
linux-dev-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/rtc-goldfish.c')
-rw-r--r--drivers/rtc/rtc-goldfish.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-goldfish.c b/drivers/rtc/rtc-goldfish.c
index 23301e15992c..3fbd2715560e 100644
--- a/drivers/rtc/rtc-goldfish.c
+++ b/drivers/rtc/rtc-goldfish.c
@@ -16,6 +16,7 @@
#include <linux/io.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/rtc.h>