aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/hexagon/kernel/dma.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/hexagon/kernel/dma.c b/arch/hexagon/kernel/dma.c
index 77459df34e2e..d2b717f352f4 100644
--- a/arch/hexagon/kernel/dma.c
+++ b/arch/hexagon/kernel/dma.c
@@ -181,13 +181,6 @@ static dma_addr_t hexagon_map_page(struct device *dev, struct page *page,
181 return bus; 181 return bus;
182} 182}
183 183
184static void hexagon_sync_single_for_cpu(struct device *dev,
185 dma_addr_t dma_handle, size_t size,
186 enum dma_data_direction dir)
187{
188 dma_sync(dma_addr_to_virt(dma_handle), size, dir);
189}
190
191static void hexagon_sync_single_for_device(struct device *dev, 184static void hexagon_sync_single_for_device(struct device *dev,
192 dma_addr_t dma_handle, size_t size, 185 dma_addr_t dma_handle, size_t size,
193 enum dma_data_direction dir) 186 enum dma_data_direction dir)
@@ -205,7 +198,6 @@ const struct dma_map_ops hexagon_dma_ops = {
205 .free = hexagon_free_coherent, 198 .free = hexagon_free_coherent,
206 .map_sg = hexagon_map_sg, 199 .map_sg = hexagon_map_sg,
207 .map_page = hexagon_map_page, 200 .map_page = hexagon_map_page,
208 .sync_single_for_cpu = hexagon_sync_single_for_cpu,
209 .sync_single_for_device = hexagon_sync_single_for_device, 201 .sync_single_for_device = hexagon_sync_single_for_device,
210 .mapping_error = hexagon_mapping_error, 202 .mapping_error = hexagon_mapping_error,
211}; 203};