Skip to contentSkip to conversation

pci: PCI_QUIRKS depends on PCI

PATCH In review Geert Uytterhoeven 2 participants 2 messages Oct 22, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: PCI_QUIRKS depends on PCI

commit 3d137310245e4cdc3e8c8ba1bea2e145a87ae8e3 ("PCI: allow quirks to be compiled out") introduced CONFIG_PCI_QUIRKS, which now shows up in each and every .config.

Probably the intention was to make the PCI_QUIRKS symbol depend on PCI, not on its selection enabler?

---
 init/Kconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
init/Kconfig +2 -1
@@ -739,7 +739,8 @@ config VM_EVENT_COUNTERS
 
 config PCI_QUIRKS
 	default y
-	bool "Enable PCI quirk workarounds" if EMBEDDED && PCI
+	bool "Enable PCI quirk workarounds" if EMBEDDED
+	depends on PCI
 	help
 	  This enables workarounds for various PCI chipset
           bugs/quirks. Disable this only if your target machine is

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

#1 lore raw
Quoted 8 lines · Geert Uytterhoeven

commit 3d137310245e4cdc3e8c8ba1bea2e145a87ae8e3 ("PCI: allow quirks to be compiled out") introduced CONFIG_PCI_QUIRKS, which now shows up in each and every .config.

Probably the intention was to make the PCI_QUIRKS symbol depend on PCI, not on its selection enabler?

Yeah, that works. Thanks Geert.

Jesse