summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_bsg.c
diff options
context:
space:
mode:
authorJohannes Thumshirn2016-11-17 10:31:11 +0100
committerMartin K. Petersen2016-11-18 02:15:24 +0100
commiteb34094820c5dcfc8fa0bf68382e08ebac743dc2 (patch)
tree6af300f5d5abf66c799957635fb9b0fcb1ac2b1f /drivers/scsi/lpfc/lpfc_bsg.c
parentscsi: mvsas: fix command_active typo (diff)
downloadkernel-qcow2-linux-eb34094820c5dcfc8fa0bf68382e08ebac743dc2.tar.gz
kernel-qcow2-linux-eb34094820c5dcfc8fa0bf68382e08ebac743dc2.tar.xz
kernel-qcow2-linux-eb34094820c5dcfc8fa0bf68382e08ebac743dc2.zip
scsi: Get rid of struct fc_bsg_buffer
struct fc_bsg_buffer is just a clone of struct bsg_buffer from bsg-lib, so use this one instead. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_bsg.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_bsg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c
index e6a5254abd4f..0148ee3ef70b 100644
--- a/drivers/scsi/lpfc/lpfc_bsg.c
+++ b/drivers/scsi/lpfc/lpfc_bsg.c
@@ -24,6 +24,7 @@
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/list.h>
+#include <linux/bsg-lib.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
@@ -211,7 +212,7 @@ lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size,
static unsigned int
lpfc_bsg_copy_data(struct lpfc_dmabuf *dma_buffers,
- struct fc_bsg_buffer *bsg_buffers,
+ struct bsg_buffer *bsg_buffers,
unsigned int bytes_to_transfer, int to_buffers)
{