summaryrefslogtreecommitdiffstats
path: root/include/linux/arm-cci.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 22:12:12 +0200
committerArnd Bergmann <arnd@arndb.de>2023-05-26 13:43:52 +0200
commitdb967cf828fc134ba17c5e4539b1a3687cdd3f2d (patch)
tree29438e49c1b4e1426db7c04d37af23df6121312d /include/linux/arm-cci.h
parenteaae5a8977d680355bb6a4f867c5fcc0633b2732 (diff)
downloadlinux-stable-db967cf828fc134ba17c5e4539b1a3687cdd3f2d.tar.gz
linux-stable-db967cf828fc134ba17c5e4539b1a3687cdd3f2d.tar.bz2
linux-stable-db967cf828fc134ba17c5e4539b1a3687cdd3f2d.zip
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>
Diffstat (limited to 'include/linux/arm-cci.h')
-rw-r--r--include/linux/arm-cci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/arm-cci.h b/include/linux/arm-cci.h
index d0e44201d855..7f7a576267bc 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) \