summaryrefslogtreecommitdiffstats
path: root/drivers/net/au1000_eth.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-06-24 15:59:54 +0200
committerJeff Garzik <jeff@garzik.org>2007-06-27 08:33:06 +0200
commitd791c2bdf0e7bd71b867210650e00c850b1f7de9 (patch)
tree9c2b33a3cf76a33cb9ff25cba7e9fc0a5d2ac22f /drivers/net/au1000_eth.c
parentx86_64 irq: use mask/unmask and proper locking in fixup_irqs() (diff)
downloadlinux-d791c2bdf0e7bd71b867210650e00c850b1f7de9.tar.xz
linux-d791c2bdf0e7bd71b867210650e00c850b1f7de9.zip
au1000_eth: Fix warnings.
Fixed by including <linux/dma-mapping.h>: CC drivers/net/au1000_eth.o drivers/net/au1000_eth.c: In function 'au1000_probe': drivers/net/au1000_eth.c:661: warning: implicit declaration of function 'dma_alloc_noncoherent' drivers/net/au1000_eth.c:802: warning: implicit declaration of function 'dma_free_noncoherent' Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/au1000_eth.c')
-rw-r--r--drivers/net/au1000_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c
index c39ab803c5d8..c27cfcef45fa 100644
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
@@ -34,7 +34,7 @@
*
*
*/
-
+#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>