diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-07-17 12:24:59 +0530 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2023-08-26 16:54:46 +0000 |
commit | 06eea7d18fe86fdf09771f5a9d1ac74134725df1 (patch) | |
tree | c5b380b9719cc8698798a615e8b0c4983a66d372 | |
parent | 127c66c3b95feddda664d1d76cae424a592ceac5 (diff) | |
download | lwn-06eea7d18fe86fdf09771f5a9d1ac74134725df1.tar.gz lwn-06eea7d18fe86fdf09771f5a9d1ac74134725df1.zip |
PCI: endpoint: Add kernel-doc for pci_epc_mem_init() API
Add missing kernel-doc for pci_epc_mem_init() API.
Link: https://lore.kernel.org/linux-pci/20230717065459.14138-8-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
-rw-r--r-- | drivers/pci/endpoint/pci-epc-mem.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/pci/endpoint/pci-epc-mem.c b/drivers/pci/endpoint/pci-epc-mem.c index 7dcf6f480b82..a9c028f58da1 100644 --- a/drivers/pci/endpoint/pci-epc-mem.c +++ b/drivers/pci/endpoint/pci-epc-mem.c @@ -115,6 +115,16 @@ err_mem: } EXPORT_SYMBOL_GPL(pci_epc_multi_mem_init); +/** + * pci_epc_mem_init() - Initialize the pci_epc_mem structure + * @epc: the EPC device that invoked pci_epc_mem_init + * @base: Physical address of the window region + * @size: Total Size of the window region + * @page_size: Page size of the window region + * + * Invoke to initialize a single pci_epc_mem structure used by the + * endpoint functions to allocate memory for mapping the PCI host memory + */ int pci_epc_mem_init(struct pci_epc *epc, phys_addr_t base, size_t size, size_t page_size) { |