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

From: Max Kellermann
Date: Mon Mar 11 2024 - 09:23:54 EST


Fixes:

arch/alpha/kernel/io.c:654:1: error: no previous prototype for 'scr_memcpyw' [-Werror=missing-prototypes]
654 | scr_memcpyw(u16 *d, const u16 *s, unsigned int count)
| ^~~~~~~~~~~

Signed-off-by: Max Kellermann <max.kellermann@xxxxxxxxx>
---
arch/alpha/kernel/io.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/alpha/kernel/io.c b/arch/alpha/kernel/io.c
index eda09778268f..fc5f7b80c7ea 100644
--- a/arch/alpha/kernel/io.c
+++ b/arch/alpha/kernel/io.c
@@ -8,6 +8,7 @@
#include <linux/string.h>
#include <linux/module.h>
#include <asm/io.h>
+#include <asm/vga.h> // for the scr_memcpyw() prototype

/* Out-of-line versions of the i/o routines that redirect into the
platform-specific version. Note that "platform-specific" may mean
--
2.39.2