diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 23:22:07 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2023-05-20 20:20:30 +0300 |
commit | 32a31bd41be148cac0dae3ff0f2555027c6853b7 (patch) | |
tree | 4cf8779e6c551949d4daa213427354ca07e1daed /drivers/hsi/clients | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
download | linux-32a31bd41be148cac0dae3ff0f2555027c6853b7.tar.xz |
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/clients')
-rw-r--r-- | drivers/hsi/clients/ssi_protocol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/hsi/clients/ssi_protocol.c index 38e572faff43..da6a7abd584f 100644 --- a/drivers/hsi/clients/ssi_protocol.c +++ b/drivers/hsi/clients/ssi_protocol.c @@ -32,8 +32,6 @@ #include <linux/hsi/hsi.h> #include <linux/hsi/ssi_protocol.h> -void ssi_waketest(struct hsi_client *cl, unsigned int enable); - #define SSIP_TXQUEUE_LEN 100 #define SSIP_MAX_MTU 65535 #define SSIP_DEFAULT_MTU 4000 |