Fix make warn as error in pci drivers

Signed-off-by: yezhonghui <yezhonghui@xiaomi.com>
This commit is contained in:
yezhonghui
2024-10-21 11:14:31 +08:00
committed by Xiang Xiao
parent 0496f357c9
commit 317d7a7f59
+4 -4
View File
@@ -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;