summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Kunbo <zhangkunbo@huawei.com>2024-11-26 04:54:57 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-28 00:52:37 +0300
commite008eeec7868a9ca6e159726aeb9bdbf2ab86647 (patch)
tree73298d2c210754275f1d888c044e674d257d9bf5
parentb8ffd979356e33a3af0854d47375bba611126f3b (diff)
downloadlinux-e008eeec7868a9ca6e159726aeb9bdbf2ab86647.tar.xz
x86/platform: Fix missing declaration of 'x86_apple_machine'
Fix this sparse warning: arch/x86/kernel/quirks.c:662:6: warning: symbol 'x86_apple_machine' was not declared. Should it be static? Signed-off-by: Zhang Kunbo <zhangkunbo@huawei.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20241126015636.3463994-1-zhangkunbo@huawei.com
-rw-r--r--arch/x86/kernel/quirks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/quirks.c b/arch/x86/kernel/quirks.c
index 6d0df6a58873..a92f18db9610 100644
--- a/arch/x86/kernel/quirks.c
+++ b/arch/x86/kernel/quirks.c
@@ -10,6 +10,8 @@
#include <asm/setup.h>
#include <asm/mce.h>
+#include <linux/platform_data/x86/apple.h>
+
#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SMP) && defined(CONFIG_PCI)
static void quirk_intel_irqbalance(struct pci_dev *dev)