diff mbox series

[09/11] ARM: mach-prima2: make sirfsoc_rtc_iobrg_wait_sync static

Message ID 20191008123453.1651-9-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
The sirfsoc_rtc_iobrg_wait_sync is not used outside of this file
so make it static to avoid the following warning:

arch/arm/mach-prima2/rtciobrg.c:34:6: warning: symbol 'sirfsoc_rtc_iobrg_wait_sync' 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, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/mach-prima2/rtciobrg.c b/arch/arm/mach-prima2/rtciobrg.c
index 97c0e333e3b9..f5177219732a 100644
--- a/arch/arm/mach-prima2/rtciobrg.c
+++ b/arch/arm/mach-prima2/rtciobrg.c
@@ -31,7 +31,7 @@  static DEFINE_SPINLOCK(rtciobrg_lock);
  * symbols without lock are only used by suspend asm codes
  * and these symbols are not exported too
  */
-void sirfsoc_rtc_iobrg_wait_sync(void)
+static void sirfsoc_rtc_iobrg_wait_sync(void)
 {
 	while (readl_relaxed(sirfsoc_rtciobrg_base + SIRFSOC_CPUIOBRG_CTRL))
 		cpu_relax();