From: Arnd Bergmann Date: Tue, 16 May 2023 20:12:12 +0000 (+0200) Subject: arm-cci: add cci_enable_port_for_self prototype X-Git-Tag: v6.5-rc1~140^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db967cf828fc134ba17c5e4539b1a3687cdd3f2d;p=thirdparty%2Fkernel%2Flinux.git arm-cci: add cci_enable_port_for_self prototype 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] Link: https://lore.kernel.org/r/20230516201218.556437-1-arnd@kernel.org Signed-off-by: Arnd Bergmann --- diff --git a/include/linux/arm-cci.h b/include/linux/arm-cci.h index d0e44201d855b..7f7a576267bcd 100644 --- a/include/linux/arm-cci.h +++ b/include/linux/arm-cci.h @@ -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) \