projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8ffd97
)
x86/platform: Fix missing declaration of 'x86_apple_machine'
author
Zhang Kunbo
<zhangkunbo@huawei.com>
Tue, 26 Nov 2024 01:54:57 +0000
(
01:54
+0000)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 27 Feb 2025 21:52:37 +0000
(22:52 +0100)
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
arch/x86/kernel/quirks.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/quirks.c
b/arch/x86/kernel/quirks.c
index 6d0df6a58873d73ac356e388bd68bea7173d9304..a92f18db96100fe1d9f166d978bed4be93d0fb52 100644
(file)
--- 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)