Skip to content

Commit e008eee

Browse files
Zhang KunboIngo Molnar
authored andcommitted
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
1 parent b8ffd97 commit e008eee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/x86/kernel/quirks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <asm/setup.h>
1111
#include <asm/mce.h>
1212

13+
#include <linux/platform_data/x86/apple.h>
14+
1315
#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SMP) && defined(CONFIG_PCI)
1416

1517
static void quirk_intel_irqbalance(struct pci_dev *dev)

0 commit comments

Comments
 (0)