mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
pci: xilinx: Fix doc comments on config space accessors
These take the 'struct udevice *' as an argument, not the 'struct xilinx_pcie *` which is a local variable. Fix the comments to match the code. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
2460098cff
commit
adfc3e4804
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ static int pcie_xilinx_config_address(struct xilinx_pcie *pcie, pci_dev_t bdf,
|
|||
|
||||
/**
|
||||
* pcie_xilinx_read_config() - Read from configuration space
|
||||
* @pcie: Pointer to the PCI controller state
|
||||
* @bus: Pointer to the PCI bus
|
||||
* @bdf: Identifies the PCIe device to access
|
||||
* @offset: The offset into the device's configuration space
|
||||
* @valuep: A pointer at which to store the read value
|
||||
|
|
@ -130,7 +130,7 @@ static int pcie_xilinx_read_config(struct udevice *bus, pci_dev_t bdf,
|
|||
|
||||
/**
|
||||
* pcie_xilinx_write_config() - Write to configuration space
|
||||
* @pcie: Pointer to the PCI controller state
|
||||
* @bus: Pointer to the PCI bus
|
||||
* @bdf: Identifies the PCIe device to access
|
||||
* @offset: The offset into the device's configuration space
|
||||
* @value: The value to write
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue