[PATCH] PCI: hotplug: compaq: drop X86 dependency

Rosen Penev posted 1 patch 6 days ago
drivers/pci/hotplug/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] PCI: hotplug: compaq: drop X86 dependency
Posted by Rosen Penev 6 days ago
This driver needs X86_32, not X86. It does not compile on x86_64 because
of invalid assembly there.

PCI_BIOS already selects X86_32, so the explicit X86 dependency is redundant.

Authored-by: Claude:Sonnet-4.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 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..f30a600deaf3 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 PCI_BIOS
 	help
 	  Say Y here if you have a motherboard with a Compaq PCI Hotplug
 	  controller.
-- 
2.54.0