diff mbox series

[121/171] Correct SPL use of PCI_PNP

Message ID 20230130151612.212732-122-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series None | expand

Commit Message

Simon Glass Jan. 30, 2023, 3:15 p.m. UTC
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PCI_PNP defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/pci/pci-uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c
index 9343cfc62a9..a0c19987ab1 100644
--- a/drivers/pci/pci-uclass.c
+++ b/drivers/pci/pci-uclass.c
@@ -1140,7 +1140,7 @@  static int pci_uclass_post_probe(struct udevice *bus)
 	if (ret)
 		return log_msg_ret("bind", ret);
 
-	if (CONFIG_IS_ENABLED(PCI_PNP) && ll_boot_init() &&
+	if (IS_ENABLED(CONFIG_PCI_PNP) && ll_boot_init() &&
 	    (!hose->skip_auto_config_until_reloc ||
 	     (gd->flags & GD_FLG_RELOC))) {
 		ret = pci_auto_config_devices(bus);