[PATCHv2] PCI: hotplug: compaq: fix X86 dependency
From: Rosen Penev
Date: Tue May 26 2026 - 00:26:48 EST
This driver needs X86_32, not X86. It does not compile on x86_64 because
of invalid assembly there.
Authored-by: Claude:Sonnet-4.6
Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
---
v2: use X86_32
drivers/pci/hotplug/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
index 891a81bac5e9..392cf75aeac9 100644
--- a/drivers/pci/hotplug/Kconfig
+++ b/drivers/pci/hotplug/Kconfig
@@ -20,7 +20,7 @@ if HOTPLUG_PCI
config HOTPLUG_PCI_COMPAQ
tristate "Compaq PCI Hotplug driver"
- depends on X86 && PCI_BIOS
+ depends on X86_32 && PCI_BIOS
help
Say Y here if you have a motherboard with a Compaq PCI Hotplug
controller.
--
2.54.0