aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasavaraj Natikar <[email protected]>2024-04-16 08:23:12 +0530
committerHans de Goede <[email protected]>2024-04-29 10:52:02 +0200
commit4acf5cac1ce1ef331a4c88768d5f5b375d825205 (patch)
treeff66395c6343db361bfc329f6bb7870e36a59dcc
parentbd25a3f5ed51540d873c6c581f4dab08aedc73ea (diff)
platform/x86/amd/pmc: Fix implicit declaration error on i386
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 <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Basavaraj Natikar <[email protected]> Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
-rw-r--r--drivers/platform/x86/amd/pmc/mp2_stb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/amd/pmc/mp2_stb.c b/drivers/platform/x86/amd/pmc/mp2_stb.c
index dfa55327e5f1..9775ddc1b27a 100644
--- a/drivers/platform/x86/amd/pmc/mp2_stb.c
+++ b/drivers/platform/x86/amd/pmc/mp2_stb.c
@@ -11,6 +11,7 @@
#include <linux/debugfs.h>
#include <linux/device.h>
#include <linux/io.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
#include <linux/iopoll.h>
#include <linux/pci.h>
#include <linux/sizes.h>