mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-09 02:37:31 +01:00
pci: pci_ipq: initialize the index variable to zero
Change-Id: I0d3582343b7b5dda86548f0dd46dd6e801e820b3 Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
This commit is contained in:
parent
2a18527a0f
commit
43442bec19
1 changed files with 1 additions and 1 deletions
|
|
@ -1988,7 +1988,7 @@ pci_dev_t pci_find_ipq_devices(struct pci_device_id *ids, int device_id)
|
|||
{
|
||||
struct pci_controller * hose;
|
||||
pci_dev_t bdf;
|
||||
int bus, index;
|
||||
int bus, index = 0;
|
||||
|
||||
hose = pci_get_hose_head();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue