From: Andrew Morton drivers/scsi/aic94xx/aic94xx_hwi.h: In function `asd_alloc_coherent': drivers/scsi/aic94xx/aic94xx_hwi.h:262: warning: implicit declaration of function `dma_alloc_coherent' drivers/scsi/aic94xx/aic94xx_hwi.h:265: warning: assignment makes pointer from integer without a cast drivers/scsi/aic94xx/aic94xx_hwi.h: In function `asd_free_coherent': drivers/scsi/aic94xx/aic94xx_hwi.h:278: warning: implicit declaration of function `dma_free_coherent' drivers/scsi/aic94xx/aic94xx_init.c: In function `asd_pci_probe': drivers/scsi/aic94xx/aic94xx_init.c:565: error: `DMA_64BIT_MASK' undeclared (first use in this function) drivers/scsi/aic94xx/aic94xx_init.c:565: error: (Each undeclared identifier is reported only once drivers/scsi/aic94xx/aic94xx_init.c:565: error: for each function it appears in.) drivers/scsi/aic94xx/aic94xx_init.c:568: error: `DMA_32BIT_MASK' undeclared (first use in this function) Actually, the header file needs it too. Cc: Luben Tuikov Signed-off-by: Andrew Morton --- drivers/scsi/aic94xx/aic94xx_hwi.h | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/scsi/aic94xx/aic94xx_hwi.h~aic94xx_init-needs-dma-mappingh drivers/scsi/aic94xx/aic94xx_hwi.h --- 25-alpha/drivers/scsi/aic94xx/aic94xx_hwi.h~aic94xx_init-needs-dma-mappingh 2005-11-10 15:52:53.000000000 -0800 +++ 25-alpha-akpm/drivers/scsi/aic94xx/aic94xx_hwi.h 2005-11-10 15:52:53.000000000 -0800 @@ -30,6 +30,8 @@ #include #include +#include + #include #include "aic94xx.h" _