diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-05-16 08:57:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-17 06:19:15 +0200 |
commit | 8382d2b9a7205fe1fb262f59237715a40c911880 (patch) | |
tree | 086d821cb5a00e617a188d10836cf325fb7e6bb4 /drivers/parport | |
parent | spi: fix spidev for >sizeof(long)/32 devices (diff) | |
download | linux-8382d2b9a7205fe1fb262f59237715a40c911880.tar.xz linux-8382d2b9a7205fe1fb262f59237715a40c911880.zip |
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>
Diffstat (limited to 'drivers/parport')
-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 @@ #include <linux/ioport.h> #include <linux/kernel.h> #include <linux/slab.h> +#include <linux/dma-mapping.h> #include <linux/pci.h> #include <linux/pnp.h> #include <linux/platform_device.h> |