mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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>
This commit is contained in:
parent
eaae5a8977
commit
db967cf828
1 changed files with 2 additions and 0 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue