]> err.no Git - linux-2.6/commitdiff
firewire: build fix
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Dec 2006 22:36:37 +0000 (14:36 -0800)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:35 +0000 (22:02 +0100)
alpha:

drivers/firewire/fw-ohci.c: In function 'ar_context_tasklet':
drivers/firewire/fw-ohci.c:266: warning: implicit declaration of function 'dma_sync_single_for_device'
drivers/firewire/fw-ohci.c:267: error: 'DMA_TO_DEVICE' undeclared (first use in this function)
drivers/firewire/fw-ohci.c:267: error: (Each undeclared identifier is reported only once
drivers/firewire/fw-ohci.c:267: error: for each function it appears in.)
drivers/firewire/fw-ohci.c: In function 'ar_context_init':
drivers/firewire/fw-ohci.c:282: warning: implicit declaration of function 'dma_map_single'
drivers/firewire/fw-ohci.c:283: error: 'DMA_TO_DEVICE' undeclared (first use in this function)
drivers/firewire/fw-ohci.c:293: error: 'DMA_FROM_DEVICE' undeclared (first use in this function)
etc.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c

index b046b0711e13565414b5d076563f2a96ec2ca895..5d42d18bd4550173ff133e0b117bb4ee9e599e15 100644 (file)
@@ -25,6 +25,8 @@
 #include <linux/pci.h>
 #include <linux/delay.h>
 #include <linux/poll.h>
+#include <linux/dma-mapping.h>
+
 #include <asm/uaccess.h>
 #include <asm/semaphore.h>