diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-06 09:34:26 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-09 08:42:28 +0100 |
commit | 4d66164e997ea791c5a4cefe6fc2e1fbb3ffb9c8 (patch) | |
tree | c50299b3da16e57805b36a74a75e2b6a8510fc54 | |
parent | 20feaab0323cc062b298c12e77869424df05f31f (diff) | |
download | linux-3.10-4d66164e997ea791c5a4cefe6fc2e1fbb3ffb9c8.tar.gz linux-3.10-4d66164e997ea791c5a4cefe6fc2e1fbb3ffb9c8.tar.bz2 linux-3.10-4d66164e997ea791c5a4cefe6fc2e1fbb3ffb9c8.zip |
dmaengine: PL08x: Fix trivial build error
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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/dma/amba-pl08x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 196a7378d33..be21e3f138a 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c @@ -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> |