Fix "Fix DAC960 driver on machines which don't support 64-bit DMA"
authorAndrew Morton <[email protected]>
Wed, 19 Sep 2007 05:46:19 +0000 (22:46 -0700)
committerLinus Torvalds <[email protected]>
Wed, 19 Sep 2007 18:24:16 +0000 (11:24 -0700)
sparc32:

drivers/block/DAC960.c: In function 'DAC960_V1_EnableMemoryMailboxInterface':
drivers/block/DAC960.c:1168: error: 'DMA_32BIT_MASK' undeclared (first use in this function)
drivers/block/DAC960.c:1168: error: (Each undeclared identifier is reported only

Cc: <[email protected]>
Cc: <[email protected]>
Cc: Alessandro Polverini <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/block/DAC960.c

index 504a95d888b2ce1863c61c901885c4bd8c033212..84d6aa500e26b24a3e73ada55c87d4c44efb6be9 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/genhd.h>
 #include <linux/hdreg.h>
 #include <linux/blkpg.h>
+#include <linux/dma-mapping.h>
 #include <linux/interrupt.h>
 #include <linux/ioport.h>
 #include <linux/mm.h>