From: Andrew Morton Date: Wed, 16 May 2007 06:57:08 +0000 (-0700) Subject: parport_pc needs dma-mapping.h X-Git-Tag: v3.12-rc1~29501 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8382d2b9a7205fe1fb262f59237715a40c911880;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Linus Torvalds --- diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index 02c0d52..7bfbad5 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c @@ -51,6 +51,7 @@ #include #include #include +#include #include #include #include