Skip to content

Commit

Permalink
Fix make warn as error in pci drivers
Browse files Browse the repository at this point in the history
Signed-off-by: yezhonghui <[email protected]>
  • Loading branch information
yezhonghui2024 authored and xiaoxiang781216 committed Oct 21, 2024
1 parent 0496f35 commit 317d7a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/pci/pci_ecam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 317d7a7

Please sign in to comment.