au1000_eth: Fix warnings.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jun 2007 13:59:54 +0000 (15:59 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 27 Jun 2007 06:33:06 +0000 (02:33 -0400)
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>
drivers/net/au1000_eth.c

index c39ab803c5d874d150dad83bc1c075f53a9cb35a..c27cfcef45fafeddec8cc4a4e1cf23844e61fe3c 100644 (file)
@@ -34,7 +34,7 @@
  *
  *
  */
-
+#include <linux/dma-mapping.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/string.h>