summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/xgi_pcie.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/linux-core/xgi_pcie.c b/linux-core/xgi_pcie.c
index 8b024e4a..b29b083d 100644
--- a/linux-core/xgi_pcie.c
+++ b/linux-core/xgi_pcie.c
@@ -938,12 +938,13 @@ void *xgi_find_pcie_block(xgi_info_t * info, unsigned long address)
return NULL;
}
-/*
- address -- GE HW address
- return -- CPU virtual address
-
- assume the CPU VAddr is continuous in not the same block
-*/
+/**
+ * xgi_find_pcie_virt
+ * @address: GE HW address
+ *
+ * Returns CPU virtual address. Assumes the CPU VAddr is continuous in not
+ * the same block
+ */
void *xgi_find_pcie_virt(xgi_info_t * info, unsigned long address)
{
struct list_head *used_list;