From 4acf5cac1ce1ef331a4c88768d5f5b375d825205 Mon Sep 17 00:00:00 2001 From: Basavaraj Natikar Date: Tue, 16 Apr 2024 08:23:12 +0530 Subject: [PATCH] platform/x86/amd/pmc: Fix implicit declaration error on i386 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Add depended header file to fix error on i386 due to implicit declaration of function ‘writeq’. Fixes: 2dc77993cb5e ("platform/x86/amd/pmc: Add AMD MP2 STB functionality") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404160320.QAHyZ0c3-lkp@intel.com/ Suggested-by: Andy Shevchenko Signed-off-by: Basavaraj Natikar Reviewed-by: Kuppuswamy Sathyanarayanan Link: https://lore.kernel.org/r/20240416025312.731809-1-Basavaraj.Natikar@amd.com Signed-off-by: Hans de Goede --- drivers/platform/x86/amd/pmc/mp2_stb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/amd/pmc/mp2_stb.c b/drivers/platform/x86/amd/pmc/mp2_stb.c index dfa55327e5f15..9775ddc1b27af 100644 --- a/drivers/platform/x86/amd/pmc/mp2_stb.c +++ b/drivers/platform/x86/amd/pmc/mp2_stb.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include -- 2.30.2