diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-05-16 02:57:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-17 00:19:15 -0400 |
commit | 8382d2b9a7205fe1fb262f59237715a40c911880 (patch) | |
tree | 086d821cb5a00e617a188d10836cf325fb7e6bb4 | |
parent | 0a4dd7783dfc62176a29cb349404180f24f46975 (diff) |
parport_pc needs dma-mapping.h
alpha:
drivers/parport/parport_pc.c: In function 'parport_pc_fifo_write_block_dma':
drivers/parport/parport_pc.c:636: warning: implicit declaration of function 'dma_map_single'
drivers/parport/parport_pc.c:637: error: 'DMA_TO_DEVICE' undeclared (first use in this function)
drivers/parport/parport_pc.c:637: error: (Each undeclared identifier is reported only once
drivers/parport/parport_pc.c:637: error: for each function it appears in.)
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | drivers/parport/parport_pc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index 02c0d52c9f76..7bfbad57879d 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c | |||
@@ -51,6 +51,7 @@ | |||
51 | #include <linux/ioport.h> | 51 | #include <linux/ioport.h> |
52 | #include <linux/kernel.h> | 52 | #include <linux/kernel.h> |
53 | #include <linux/slab.h> | 53 | #include <linux/slab.h> |
54 | #include <linux/dma-mapping.h> | ||
54 | #include <linux/pci.h> | 55 | #include <linux/pci.h> |
55 | #include <linux/pnp.h> | 56 | #include <linux/pnp.h> |
56 | #include <linux/platform_device.h> | 57 | #include <linux/platform_device.h> |