Skip to content

Commit e457616

Browse files
authored
pci-bus: Fix -Wdocumentation
1 parent e4a3a96 commit e457616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/devices/pci-bus.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ PUBLIC pci_dev_t* pci_get_bus_device(pci_bus_t* bus, pci_bus_addr_t bus_addr);
124124
PUBLIC pci_func_t* pci_get_bus_func(pci_bus_t* bus, pci_bus_addr_t bus_addr);
125125

126126
//! \brief Get a PCI bus address of a PCI device
127-
//! \param func Valid PCI device handle
127+
//! \param dev Valid PCI device handle
128128
//! \return PCI bus address
129129
PUBLIC pci_bus_addr_t pci_get_device_bus_addr(pci_dev_t* dev);
130130

@@ -134,7 +134,7 @@ PUBLIC pci_bus_addr_t pci_get_device_bus_addr(pci_dev_t* dev);
134134
PUBLIC pci_bus_addr_t pci_get_func_bus_addr(pci_func_t* func);
135135

136136
//! \brief Unplug a PCI device from the slot (Hot-unplug allowed)
137-
//! \param func Valid PCI device handle, device data is always cleaned up automatically
137+
//! \param dev Valid PCI device handle, device data is always cleaned up automatically
138138
PUBLIC void pci_remove_device(pci_dev_t* dev);
139139

140140
/** @}*/

0 commit comments

Comments
 (0)