Skip to content

Commit 06eea7d

Browse files
Mani-Sadhasivamkwilczynski
authored andcommitted
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>
1 parent 127c66c commit 06eea7d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/pci/endpoint/pci-epc-mem.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,16 @@ int pci_epc_multi_mem_init(struct pci_epc *epc,
115115
}
116116
EXPORT_SYMBOL_GPL(pci_epc_multi_mem_init);
117117

118+
/**
119+
* pci_epc_mem_init() - Initialize the pci_epc_mem structure
120+
* @epc: the EPC device that invoked pci_epc_mem_init
121+
* @base: Physical address of the window region
122+
* @size: Total Size of the window region
123+
* @page_size: Page size of the window region
124+
*
125+
* Invoke to initialize a single pci_epc_mem structure used by the
126+
* endpoint functions to allocate memory for mapping the PCI host memory
127+
*/
118128
int pci_epc_mem_init(struct pci_epc *epc, phys_addr_t base,
119129
size_t size, size_t page_size)
120130
{

0 commit comments

Comments
 (0)