Skip to content

Commit db967cf

Browse files
committed
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 <arnd@arndb.de>
1 parent eaae5a8 commit db967cf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/linux/arm-cci.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ static inline int __cci_control_port_by_index(u32 port, bool enable)
4343
}
4444
#endif
4545

46+
void cci_enable_port_for_self(void);
47+
4648
#define cci_disable_port_by_device(dev) \
4749
__cci_control_port_by_device(dev, false)
4850
#define cci_enable_port_by_device(dev) \

0 commit comments

Comments
 (0)