2021-09-27 06:39:43

by Alexandre Belloni

[permalink] [raw]
Subject: [PATCH] rtc: msc313: fix missing include

The driver needs io.h

Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
---
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