]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dmaengine: PL08x: Fix trivial build error
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Aug 2011 08:34:26 +0000 (09:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 8 Aug 2011 08:37:57 +0000 (09:37 +0100)
Something changed during the 3.1 merge window in the include files
which now causes the pl08x DMA engine driver to fail to build.  Fix
this by adding the now necessary dma-mapping.h include:

drivers/dma/amba-pl08x.c: In function ■pl08x_unmap_buffers■:
drivers/dma/amba-pl08x.c:1524: error: implicit declaration of function ■dma_unmap_single■
drivers/dma/amba-pl08x.c:1527: error: implicit declaration of function ■dma_unmap_page■

Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/dma/amba-pl08x.c

index 196a7378d33238ec0a08c1ac3672d428fff370cd..be21e3f138a88a6317da6e40318d3dc79d9bd5e1 100644 (file)
@@ -80,6 +80,7 @@
 #include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
+#include <linux/dma-mapping.h>
 #include <linux/dmapool.h>
 #include <linux/dmaengine.h>
 #include <linux/amba/bus.h>