Fix: drivers/scsi/advansys.c: In function 'adv_isr_callback': drivers/scsi/advansys.c:6089:3: error: implicit declaration of function 'dma_pool_free' drivers/scsi/advansys.c: In function 'adv_get_sglist': drivers/scsi/advansys.c:7654:3: error: implicit declaration of function 'dma_pool_alloc' drivers/scsi/advansys.c: In function 'advansys_wide_init_chip': drivers/scsi/advansys.c:10866:2: error: implicit declaration of function 'dma_pool_create' Fixes: 0ce538226b7a ("advansys: Use dma_pool for sg elements") Cc: Hannes Reinecke <hare@xxxxxxx> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx> --- drivers/scsi/advansys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 14d3aa54daa5..af2cb5e9e3f7 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/advansys.c @@ -36,6 +36,7 @@ #include <linux/pci.h> #include <linux/spinlock.h> #include <linux/dma-mapping.h> +#include <linux/dmapool.h> #include <linux/firmware.h> #include <asm/io.h> -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html