Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Zhang Kunbo and committed by
Ingo Molnar
e008eeec b8ffd979

+2
+2
arch/x86/kernel/quirks.c
··· 10 10 #include <asm/setup.h> 11 11 #include <asm/mce.h> 12 12 13 + #include <linux/platform_data/x86/apple.h> 14 + 13 15 #if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SMP) && defined(CONFIG_PCI) 14 16 15 17 static void quirk_intel_irqbalance(struct pci_dev *dev)