Messages in this thread Patch in this message | | | From | Max Kellermann <> | Subject | [PATCH 11/11] arch/alpha/smc37c669: add missing includes to fix -Wmissing-prototypes | Date | Mon, 11 Mar 2024 14:23:06 +0100 |
| |
Fixes:
arch/alpha/kernel/smc37c669.c:2467:13: error: no previous prototype for 'SMC669_Init' [-Werror=missing-prototypes] 2467 | void __init SMC669_Init ( int index ) | ^~~~~~~~~~~
Signed-off-by: Max Kellermann <max.kellermann@ionos.com> --- arch/alpha/kernel/smc37c669.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/arch/alpha/kernel/smc37c669.c b/arch/alpha/kernel/smc37c669.c index ab22ade3dea3..be71ea825690 100644 --- a/arch/alpha/kernel/smc37c669.c +++ b/arch/alpha/kernel/smc37c669.c @@ -1,6 +1,9 @@ /* * SMC 37C669 initialization code */ + +#include "proto.h" // for the SMC669_Init() prototype + #include <linux/kernel.h> #include <linux/mm.h> -- 2.39.2
| |