OSDN Git Service

[PATCH] sky2 needs dma_mapping.h
authorAndrew Morton <akpm@osdl.org>
Thu, 10 Nov 2005 23:29:27 +0000 (15:29 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 11 Nov 2005 10:52:37 +0000 (05:52 -0500)
On alpha:

drivers/net/sky2.c: In function `sky2_probe':
drivers/net/sky2.c:2819: error: `DMA_64BIT_MASK' undeclared (first use in this function)
drivers/net/sky2.c:2819: error: (Each undeclared identifier is reported only once
drivers/net/sky2.c:2819: error: for each function it appears in.)
drivers/net/sky2.c:2825: error: `DMA_32BIT_MASK' undeclared (first use in this function)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/sky2.c

index e08695a..9f89000 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/netdevice.h>
+#include <linux/dma-mapping.h>
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
 #include <linux/pci.h>