Commit e008eeec authored by Zhang Kunbo's avatar Zhang Kunbo Committed by Ingo Molnar
Browse files

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: default avatarZhang Kunbo <zhangkunbo@huawei.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20241126015636.3463994-1-zhangkunbo@huawei.com
parent b8ffd979
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)