1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-11 17:10:13 +00:00

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
This commit is contained in:
Zhang Kunbo 2024-11-26 01:54:57 +00:00 committed by Ingo Molnar
parent b8ffd97935
commit e008eeec78

View File

@ -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)