[PATCH] rtc: msc313: fix missing include

Alexandre Belloni alexandre.belloni at bootlin.com
Sun Sep 26 23:37:23 PDT 2021


The driver needs io.h

Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>
---
 drivers/rtc/rtc-msc313.c | 1 +
 1 file changed, 1 insertion(+)

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>
-- 
2.31.1




More information about the linux-arm-kernel mailing list