Skip to content

Commit c4694c7

Browse files
Andrew MortonLinus Torvalds
authored andcommitted
[PATCH] dl2k needs dma-mapping.h
On alpha: drivers/net/dl2k.c: In function `rio_free_tx': drivers/net/dl2k.c:768: error: `DMA_48BIT_MASK' undeclared (first use in this function) drivers/net/dl2k.c:768: error: (Each undeclared identifier is reported only once drivers/net/dl2k.c:768: error: for each function it appears in.) drivers/net/dl2k.c: In function `receive_packet': drivers/net/dl2k.c:896: error: `DMA_48BIT_MASK' undeclared (first use in this function) drivers/net/dl2k.c: In function `rio_close': drivers/net/dl2k.c:1803: error: `DMA_48BIT_MASK' undeclared (first use in this function) Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 194a61b commit c4694c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/dl2k.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
#define DRV_VERSION "v1.17b"
5454
#define DRV_RELDATE "2006/03/10"
5555
#include "dl2k.h"
56+
#include <linux/dma-mapping.h>
5657

5758
static char version[] __devinitdata =
5859
KERN_INFO DRV_NAME " " DRV_VERSION " " DRV_RELDATE "\n";

0 commit comments

Comments
 (0)