summaryrefslogtreecommitdiff
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-11-10 15:29:27 -0800
committerJeff Garzik <jgarzik@pobox.com>2005-11-11 05:52:37 -0500
commitd0bbccfa3297d3ef6ae4691585abde9a6c26b186 (patch)
tree96130802e4139de760cfafe452afe9e2482fac76 /drivers/net/sky2.c
parent3b621ee5df437d3f332a635ab6421aaa61a7dc2b (diff)
downloadlwn-d0bbccfa3297d3ef6ae4691585abde9a6c26b186.tar.gz
lwn-d0bbccfa3297d3ef6ae4691585abde9a6c26b186.zip
[PATCH] sky2 needs dma_mapping.h
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>
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index e08695a2ca5a..9f89000e5ad5 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -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>