Skip to contentSkip to conversation

arm-cci: add cci_enable_port_for_self prototype

PATCH Applied Arnd Bergmann 2 participants 2 messages May 16, 2023 – May 26, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-cci: add cci_enable_port_for_self prototype

From: Arnd Bergmann <[email protected]>

The cci_enable_port_for_self() is called from assembler, so add the prototype only to shut up the W=1 warning:

drivers/bus/arm-cci.c:298:25: error: no previous prototype for 'cci_enable_port_for_self' [-Werror=missing-prototypes]

---
 include/linux/arm-cci.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/arm-cci.h +2 -0
index d0e44201d855..7f7a576267bc 100644
@@ -43,6 +43,8 @@ static inline int __cci_control_port_by_index(u32 port, bool enable)
 }
 #endif
 
+void cci_enable_port_for_self(void);
+
 #define cci_disable_port_by_device(dev) \
 	__cci_control_port_by_device(dev, false)
 #define cci_enable_port_by_device(dev) \
Signature · 1 line
2.39.2
#1 lore raw
This patch was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:

Quoted 8 lines · On Tue, 16 May 2023 22:12:12 +0200 you wrote:

From: Arnd Bergmann <[email protected]>

The cci_enable_port_for_self() is called from assembler, so add the prototype only to shut up the W=1 warning:

drivers/bus/arm-cci.c:298:25: error: no previous prototype for 'cci_enable_port_for_self' [-Werror=missing-prototypes]

[...]

Here is the summary with links:
- arm-cci: add cci_enable_port_for_self prototype

    https://git.kernel.org/soc/soc/c/db967cf828fc

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html