diff mbox series

[10/11] ARM: mach-prima2: include linux/rtc/sirfsoc_rtciobrg.h

Message ID 20191008123453.1651-10-ben.dooks@codethink.co.uk (mailing list archive)
State New, archived
Headers show
Series [01/11] ARM: bcm2836: include local platsmp.h for bcm2836_smp_ops | expand

Commit Message

Ben Dooks Oct. 8, 2019, 12:34 p.m. UTC
A numbre of the rtciobrg.c functions are declared in the
<linux/rtc/sirfsoc_rtciobrg.h> so include it to silence
the following warnings:

arch/arm/mach-prima2/rtciobrg.c:40:6: warning: symbol 'sirfsoc_rtc_iobrg_besyncing' was not declared. Should it be static?
arch/arm/mach-prima2/rtciobrg.c:65:5: warning: symbol 'sirfsoc_rtc_iobrg_readl' was not declared. Should it be static?
arch/arm/mach-prima2/rtciobrg.c:90:6: warning: symbol 'sirfsoc_rtc_iobrg_writel' was not declared. Should it be static?
arch/arm/mach-prima2/rtciobrg.c:137:15: warning: symbol 'devm_regmap_init_iobg' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Barry Song <baohua@kernel.org>
---
 arch/arm/mach-prima2/rtciobrg.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/mach-prima2/rtciobrg.c b/arch/arm/mach-prima2/rtciobrg.c
index f5177219732a..ba6aee0aadce 100644
--- a/arch/arm/mach-prima2/rtciobrg.c
+++ b/arch/arm/mach-prima2/rtciobrg.c
@@ -15,6 +15,8 @@ 
 #include <linux/of_device.h>
 #include <linux/of_platform.h>
 
+#include <linux/rtc/sirfsoc_rtciobrg.h>
+
 #define SIRFSOC_CPUIOBRG_CTRL           0x00
 #define SIRFSOC_CPUIOBRG_WRBE           0x04
 #define SIRFSOC_CPUIOBRG_ADDR           0x08