diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nv-p2p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/nv-p2p.h b/include/linux/nv-p2p.h index 40e82796..137519b7 100644 --- a/include/linux/nv-p2p.h +++ b/include/linux/nv-p2p.h | |||
@@ -159,13 +159,13 @@ int nvidia_p2p_free_page_table(struct nvidia_p2p_page_table *page_table); | |||
159 | * 0 upon successful completion. | 159 | * 0 upon successful completion. |
160 | * Negative number if any other error | 160 | * Negative number if any other error |
161 | */ | 161 | */ |
162 | int nvidia_p2p_map_pages(struct device *dev, | 162 | int nvidia_p2p_dma_map_pages(struct device *dev, |
163 | struct nvidia_p2p_page_table *page_table, | 163 | struct nvidia_p2p_page_table *page_table, |
164 | struct nvidia_p2p_dma_mapping **map, | 164 | struct nvidia_p2p_dma_mapping **map, |
165 | enum dma_data_direction direction); | 165 | enum dma_data_direction direction); |
166 | /* | 166 | /* |
167 | * @brief | 167 | * @brief |
168 | * Unmap the pages previously mapped using nvidia_p2p_map_pages | 168 | * Unmap the pages previously mapped using nvidia_p2p_dma_map_pages |
169 | * | 169 | * |
170 | * @param[in] *map | 170 | * @param[in] *map |
171 | * A pointer to struct nvidia_p2p_dma_mapping. | 171 | * A pointer to struct nvidia_p2p_dma_mapping. |
@@ -175,11 +175,11 @@ int nvidia_p2p_map_pages(struct device *dev, | |||
175 | * 0 upon successful completion. | 175 | * 0 upon successful completion. |
176 | * Negative number if any other error | 176 | * Negative number if any other error |
177 | */ | 177 | */ |
178 | int nvidia_p2p_unmap_pages(struct nvidia_p2p_dma_mapping *map); | 178 | int nvidia_p2p_dma_unmap_pages(struct nvidia_p2p_dma_mapping *map); |
179 | 179 | ||
180 | /* | 180 | /* |
181 | * @brief | 181 | * @brief |
182 | * Unmap the pages previously mapped using nvidia_p2p_map_pages. | 182 | * Unmap the pages previously mapped using nvidia_p2p_dma_map_pages. |
183 | * This is called during the execution of the free_callback(). | 183 | * This is called during the execution of the free_callback(). |
184 | * | 184 | * |
185 | * @param[in] *map | 185 | * @param[in] *map |