Skip to contentSkip to conversation

ARM: tcm: ensure inline stub functions are marked static

PATCH New Russell King 2 participants 2 messages Jul 13, 2018 – Jul 14, 2018 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: tcm: ensure inline stub functions are marked static

Ensure that the stubbed out tcm_init() is marked static, so we don't end up emitting the stub each time the header is included.

---
 arch/arm/mm/tcm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mm/tcm.h +1 -1
index 8015ad434a40..24101925fe64 100644
@@ -11,7 +11,7 @@
 void __init tcm_init(void);
 #else
 /* No TCM support, just blank inlines to be optimized out */
-inline void tcm_init(void)
+static inline void tcm_init(void)
 {
 }
 #endif
Signature · 1 line
2.7.4