Thread (2 messages) 2 messages, 2 authors, 2020-07-10
STALE2201d

[PATCH] ARM: mach-prima2: make sirfsoc_rtc_iobrg_wait_sync static

From: Ma Feng <hidden>
Date: 2020-05-11 12:23:34
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

Fix sparse warning:

arch/arm/mach-prima2/rtciobrg.c:34:6: warning: symbol
'sirfsoc_rtc_iobrg_wait_sync' was not declared. Should it be static?

Reported-by: Hulk Robot <redacted>
Signed-off-by: Ma Feng <redacted>
---
 arch/arm/mach-prima2/rtciobrg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-prima2/rtciobrg.c b/arch/arm/mach-prima2/rtciobrg.c
index 97c0e33..f517721 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();
--
2.6.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help