aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pcie_xilinx.c
diff options
context:
space:
mode:
authorTuomas Tynkkynen2017-09-01 17:25:58 +0300
committerTom Rini2017-09-22 07:39:54 -0400
commitadfc3e4804e89fa1959e447e55bf8707466b8346 (patch)
tree5c358641e9662dc982bc47a5ac8cae6c90cbfeed /drivers/pci/pcie_xilinx.c
parent2460098cffacd18729262e3ed36656e6943783ed (diff)
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>
Diffstat (limited to 'drivers/pci/pcie_xilinx.c')
-rw-r--r--drivers/pci/pcie_xilinx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pcie_xilinx.c b/drivers/pci/pcie_xilinx.c
index 08e2e934458..e31ba8bd51e 100644
--- a/drivers/pci/pcie_xilinx.c
+++ b/drivers/pci/pcie_xilinx.c
@@ -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