]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ppc32: dma_unmap_page() fix
authorAndrew Morton <akpm@osdl.org>
Mon, 26 Apr 2004 16:03:24 +0000 (09:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 26 Apr 2004 16:03:24 +0000 (09:03 -0700)
From: <a.othieno@bluewin.ch> (Arthur Othieno)

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

(acked by Tom Rini)

include/asm-ppc/dma-mapping.h

index 4c25045ce1d1cf42f836c74d736c10417922f0f9..1e8d91927097f997e4532cf95f5355a7af1c1e5b 100644 (file)
@@ -77,7 +77,7 @@ dma_map_page(struct device *dev, struct page *page,
 }
 
 /* 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
 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents,