diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-16 21:20:30 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-18 20:32:21 -0700 |
commit | a133e2179a729036e7750b497c1c38f9f6a3a835 (patch) | |
tree | e8701370910c0a3c2db692051baef3c39455e3fa /drivers/pci | |
parent | 991759196faa74b2e7df1cb8e87820f4ec7285f8 (diff) | |
download | u-boot-a133e2179a729036e7750b497c1c38f9f6a3a835.zip u-boot-a133e2179a729036e7750b497c1c38f9f6a3a835.tar.gz u-boot-a133e2179a729036e7750b497c1c38f9f6a3a835.tar.bz2 |
dm: core: Update uclass_find_next_free_req_seq() for new scheme
This function current deals with req_seq which is deprecated. Update it to
use the new sequence numbers, putting them above existing aliases. Rename
the function to make this clear.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index bff183e..914217d 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclass.c @@ -1019,7 +1019,7 @@ static int pci_uclass_pre_probe(struct udevice *bus) ret = uclass_get(UCLASS_PCI, &uc); if (ret) return ret; - bus->sqq = uclass_find_next_free_req_seq(uc); + bus->sqq = uclass_find_next_free_seq(uc); } /* For bridges, use the top-level PCI controller */ |