* [PATCH -next] advansys: Add missing include file
@ 2015-06-05 14:12 Guenter Roeck
0 siblings, 0 replies; only message in thread
From: Guenter Roeck @ 2015-06-05 14:12 UTC (permalink / raw)
To: Matthew Wilcox
Cc: Hannes Reinecke, James E.J. Bottomley, linux-scsi, linux-kernel,
Guenter Roeck
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@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-05 14:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-05 14:12 [PATCH -next] advansys: Add missing include file Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).