Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cf3e72fd85092bf7246c8266aff293c50e99b990
Commit:     cf3e72fd85092bf7246c8266aff293c50e99b990
Parent:     fcf7770a0bf8e36318f5e73aa5b88bda97b7f920
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 27 14:36:37 2006 -0800
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Fri Mar 9 22:02:35 2007 +0100

    firewire: build fix
    
    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 <[EMAIL PROTECTED]>
    Signed-off-by: Kristian Høgsberg <[EMAIL PROTECTED]>
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 drivers/firewire/fw-ohci.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index b046b07..5d42d18 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -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>
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to