Skip to content

Commit 26641b3

Browse files
houlz0507bjorn-helgaas
authored andcommitted
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: 407d1a5 ("PCI: Create device tree node for bridge") Link: https://lore.kernel.org/r/1693505947-29786-1-git-send-email-lizhi.hou@amd.com Reported-by: Guenter Roeck <groeck7@gmail.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent b6f6167 commit 26641b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ config PCI_HYPERV
196196

197197
config PCI_DYNAMIC_OF_NODES
198198
bool "Create Device tree nodes for PCI devices"
199-
depends on OF
199+
depends on OF_IRQ
200200
select OF_DYNAMIC
201201
help
202202
This option enables support for generating device tree nodes for some

0 commit comments

Comments
 (0)