Commit 26641b3f authored by Lizhi Hou's avatar Lizhi Hou Committed by Bjorn Helgaas

PCI: Fix CONFIG_PCI_DYNAMIC_OF_NODES kconfig dependencies

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/2187619d-55bc-41bb-bbb4-6059399db997@roeck-us.net/
Fixes: 407d1a51 ("PCI: Create device tree node for bridge")
Link: https://lore.kernel.org/r/1693505947-29786-1-git-send-email-lizhi.hou@amd.comReported-by: default avatarGuenter Roeck <groeck7@gmail.com>
Signed-off-by: default avatarLizhi Hou <lizhi.hou@amd.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent b6f6167e
...@@ -196,7 +196,7 @@ config PCI_HYPERV ...@@ -196,7 +196,7 @@ config PCI_HYPERV
config PCI_DYNAMIC_OF_NODES config PCI_DYNAMIC_OF_NODES
bool "Create Device tree nodes for PCI devices" bool "Create Device tree nodes for PCI devices"
depends on OF depends on OF_IRQ
select OF_DYNAMIC select OF_DYNAMIC
help help
This option enables support for generating device tree nodes for some This option enables support for generating device tree nodes for some
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment