Commit 52bfefbc authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc32: dma_unmap_page() fix

From: <a.othieno@bluewin.ch> (Arthur Othieno)

Duplicate definition of dma_unmap_single() should actually be
dma_unmap_page().

(acked by Tom Rini)
parent 3376cbf3
...@@ -77,7 +77,7 @@ dma_map_page(struct device *dev, struct page *page, ...@@ -77,7 +77,7 @@ dma_map_page(struct device *dev, struct page *page,
} }
/* We do nothing. */ /* We do nothing. */
#define dma_unmap_single(dev, addr, size, dir) do { } while (0) #define dma_unmap_page(dev, addr, size, dir) do { } while (0)
static inline int static inline int
dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment