Skip to contentSkip to conversation

dmaengine: PL08x: Fix trivial build error

PATCH New Russell King - ARM Linux 3 participants 3 messages Aug 6, 2011 – Aug 8, 2011 dmaengine

lore
Share & tools
lore
#0 lore raw

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
index 196a737..be21e3f 100644
@@ -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
#1 lore raw

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.h include:

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?

---
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
index 196a737..be21e3f 100644
@@ -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
#2 lore raw

PATCH 1/1 dmaengine: PL08x: Fix trivial build error

In reply to Russell King - ARM Linux

2011/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.h include:

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?

---
If you can provide an ack, and I'll push this through my pending 'fixes' merge.

Thanks,
Linus Walleij