aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-msc313.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-09-27 08:37:23 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-09-27 08:39:43 +0200
commit27ff63eb076c31086e0a72d41b5c635193a58516 (patch)
tree4bdb6830dcb036047223d307d772988770ff7baf /drivers/rtc/rtc-msc313.c
parentrtc: Add support for the MSTAR MSC313 RTC (diff)
downloadlinux-dev-27ff63eb076c31086e0a72d41b5c635193a58516.tar.xz
linux-dev-27ff63eb076c31086e0a72d41b5c635193a58516.zip
rtc: msc313: fix missing include
The driver needs io.h Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210927063724.312687-1-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/rtc-msc313.c')
-rw-r--r--drivers/rtc/rtc-msc313.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-msc313.c b/drivers/rtc/rtc-msc313.c
index f493ca5f181b..5f178d29cfd8 100644
--- a/drivers/rtc/rtc-msc313.c
+++ b/drivers/rtc/rtc-msc313.c
@@ -10,6 +10,7 @@
#include <linux/clk.h>
#include <linux/delay.h>
+#include <linux/io.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>