[PATCH 11/11] arch/alpha/smc37c669: add missing includes to fix -Wmissing-prototypes

From: Max Kellermann
Date: Mon Mar 11 2024 - 09:25:29 EST


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@xxxxxxxxx>
---
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