From cdcce89fa5013a533a339b229d5b062645218f74 Mon Sep 17 00:00:00 2001 From: Matheus Date: Sun, 8 Sep 2024 12:11:20 -0300 Subject: [PATCH] ps2: fix warning --- kernel-src/include/x86-64/arch/ps2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-src/include/x86-64/arch/ps2.h b/kernel-src/include/x86-64/arch/ps2.h index bcccf963..4e19f964 100644 --- a/kernel-src/include/x86-64/arch/ps2.h +++ b/kernel-src/include/x86-64/arch/ps2.h @@ -133,7 +133,7 @@ static inline uint8_t ps2_device_write_response(int port, uint8_t command) { return r; } -static bool ps2_identify(int port, uint8_t results[2]) { +static inline bool ps2_identify(int port, uint8_t results[2]) { ps2_device_command(port, PS2_DEVICE_CMD_IDENTIFY); int resends = 0; bool timeout;