]> Git Repo - J-linux.git/commitdiff
PCI: Fix CONFIG_PCI_DYNAMIC_OF_NODES kconfig dependencies
authorLizhi Hou <[email protected]>
Thu, 31 Aug 2023 18:19:07 +0000 (11:19 -0700)
committerBjorn Helgaas <[email protected]>
Tue, 5 Sep 2023 17:42:28 +0000 (12:42 -0500)
Generating interrupt-map property depends on of_irq_parse_raw() which
is enabled by CONFIG_OF_IRQ. Change CONFIG_PCI_DYNAMIC_OF_NODES
dependency from CONFIG_OF to CONFIG_OF_IRQ.

Closes: https://lore.kernel.org/linux-devicetree/[email protected]/
Fixes: 407d1a51921e ("PCI: Create device tree node for bridge")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Guenter Roeck <[email protected]>
Signed-off-by: Lizhi Hou <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
drivers/pci/Kconfig

index 49bd09c7dd0a19902998fe414cf5038b4a6bfcaf..e9ae66cc4189b197e36e09be6b2648a30462a162 100644 (file)
@@ -196,7 +196,7 @@ config PCI_HYPERV
 
 config PCI_DYNAMIC_OF_NODES
        bool "Create Device tree nodes for PCI devices"
-       depends on OF
+       depends on OF_IRQ
        select OF_DYNAMIC
        help
          This option enables support for generating device tree nodes for some
This page took 0.056014 seconds and 4 git commands to generate.