diff options
| author | Marek BehĂșn <[email protected]> | 2021-02-08 23:01:37 +0100 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-02-26 10:22:29 +0100 |
| commit | 201958af103a4ae8679e0d4d36353b8fb38486ec (patch) | |
| tree | 816bf8041e1324dfc082dd230f0c3d79c91f63f2 /scripts | |
| parent | 579e656f4fef3538c88ee2429ce80e65f4124013 (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 <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Phil Sutter <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Baruch Siach <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
