[PATCHv2] PCI: hotplug: compaq: fix X86 dependency

Rosen Penev posted 1 patch 1 week, 6 days ago
drivers/pci/hotplug/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCHv2] PCI: hotplug: compaq: fix X86 dependency
Posted by Rosen Penev 1 week, 6 days ago
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@gmail.com>
---
 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