mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-23 05:52:21 +08:00
pci_bus.c: Fix prototype/body mismatch
This commit is contained in:
parent
9be3a10b4b
commit
816b85c6c2
@ -68,9 +68,15 @@ legacy_pcib_maxslots(device_t dev)
|
||||
|
||||
/* read configuration space register */
|
||||
|
||||
#ifdef __rtems__
|
||||
uint32_t
|
||||
legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func,
|
||||
u_int reg, int bytes)
|
||||
#else
|
||||
u_int32_t
|
||||
legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func,
|
||||
u_int reg, int bytes)
|
||||
#endif
|
||||
{
|
||||
return(pci_cfgregread(bus, slot, func, reg, bytes));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user