dmaengine: PL08x: Fix trivial build error
PATCH 1/1 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?
---
If you can provide an ack, and I'll push this through my pending 'fixes' merge.
drivers/dma/amba-pl08x.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/dma/amba-pl08x.c +1 -0
@@ -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>
Signature · 1 line
1.7.4.4
PATCH 1/1 dmaengine: PL08x: Fix trivial build error
Quoted 4 lines · Russell King - ARM Linux
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.hinclude:
Quoted 8 lines
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?Signed-off-by Russell King <[email protected]>---
If you can provide an ack, and I'll push this through my pending 'fixes' merge.
Sure...
Quoted 16 lines
drivers/dma/amba-pl08x.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)drivers/dma/amba-pl08x.c +1
-0@@ -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>
Signature · 1 line
~Vinod
PATCH 1/1 dmaengine: PL08x: Fix trivial build error
In reply to Russell King - ARM Linux2011/8/6 Russell King - ARM Linux <[email protected]>:
Quoted 4 lines
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.hinclude:
Quoted 8 lines
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?Signed-off-by Russell King <[email protected]>---
If you can provide an ack, and I'll push this through my pending 'fixes' merge.
Thanks,
Linus Walleij