summaryrefslogtreecommitdiffstats
path: root/drivers/hsi/controllers
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 22:22:07 +0200
committerSebastian Reichel <sre@kernel.org>2023-05-20 19:20:30 +0200
commit32a31bd41be148cac0dae3ff0f2555027c6853b7 (patch)
tree4cf8779e6c551949d4daa213427354ca07e1daed /drivers/hsi/controllers
parentac9a78681b921877518763ba0e89202254349d1b (diff)
downloadlinux-32a31bd41be148cac0dae3ff0f2555027c6853b7.tar.gz
linux-32a31bd41be148cac0dae3ff0f2555027c6853b7.tar.bz2
linux-32a31bd41be148cac0dae3ff0f2555027c6853b7.zip
HSI: fix ssi_waketest() declaration
The ssi_waketest() function definition causes a 'make W=1' warning because the declaration is hidden away in ssi_protocol.c: drivers/hsi/controllers/omap_ssi_core.c:147:6: error: no previous prototype for 'ssi_waketest' Move it into a header file instead. Fixes: dc7bf5d71868 ("HSI: Introduce driver for SSI Protocol") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/hsi/controllers')
-rw-r--r--drivers/hsi/controllers/omap_ssi_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hsi/controllers/omap_ssi_core.c b/drivers/hsi/controllers/omap_ssi_core.c
index 26f2c3c01297..84ba8b875199 100644
--- a/drivers/hsi/controllers/omap_ssi_core.c
+++ b/drivers/hsi/controllers/omap_ssi_core.c
@@ -17,6 +17,7 @@
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/delay.h>
+#include <linux/hsi/ssi_protocol.h>
#include <linux/seq_file.h>
#include <linux/scatterlist.h>
#include <linux/interrupt.h>