[PATCH] x86: Add header to fix missing-prototypes warning
From: Anuradha Weeraman
Date: Mon Jan 02 2023 - 22:48:02 EST
Included <asm/misc.h> to fix a missing prototypes warning at build time.
Signed-off-by: Anuradha Weeraman <anuradha@xxxxxxxxxx>
---
arch/x86/lib/misc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/lib/misc.c b/arch/x86/lib/misc.c
index a018ec4fba53..92cd8ecc3a2c 100644
--- a/arch/x86/lib/misc.c
+++ b/arch/x86/lib/misc.c
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
+#include <asm/misc.h>
+
/*
* Count the digits of @val including a possible sign.
*
--
2.35.1