diff --git a/drivers/pci/pci_ecam.c b/drivers/pci/pci_ecam.c index 132a3fd144..7e9dd94cf4 100644 --- a/drivers/pci/pci_ecam.c +++ b/drivers/pci/pci_ecam.c @@ -47,11 +47,11 @@ ****************************************************************************/ static int pci_ecam_read_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, FAR uint32_t *val); static int pci_ecam_write_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, uint32_t val); static int pci_ecam_read_io(FAR struct pci_bus_s *bus, uintptr_t addr, @@ -199,7 +199,7 @@ static bool pci_ecam_addr_valid(FAR const struct pci_bus_s *bus, ****************************************************************************/ static int pci_ecam_read_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, FAR uint32_t *val) { FAR void *addr; @@ -257,7 +257,7 @@ static int pci_ecam_read_config(FAR struct pci_bus_s *bus, ****************************************************************************/ static int pci_ecam_write_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, uint32_t val) { FAR void *addr;