commit | 05f0f509018ef08d5c54c501a94d3d419fedba5c | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Mon Feb 08 23:01:37 2021 +0100 |
committer | Stefan Roese <sr@denx.de> | Fri Feb 26 10:22:29 2021 +0100 |
tree | 816bf8041e1324dfc082dd230f0c3d79c91f63f2 | |
parent | 3d1ee552be42d6e952df9a45d3c838342296d773 [diff] |
pci: pci_mvebu: use dev_seq instead of static variable PCI uclass maps PCI bus numbers to the seq member of struct udevice. Use dev_seq(dev) as the bus number in mvebu_pcie_probe instead of an incrementing a static variable. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Cc: Stefan Roese <sr@denx.de> Cc: Phil Sutter <phil@nwl.cc> Cc: Mario Six <mario.six@gdsys.cc> Cc: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Stefan Roese <sr@denx.de>