Commit 3cb5f3ae authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: qla2xxx: Modify NVMe include directives

Since struct sg_table is used in nvme-fc-driver.h, include
<linux/scatterlist.h> from that header file.

Since no definitions or declarations from <linux/blk-mq.h> are used in the
qla_nvme.h header file, do not include <linux/blk-mq.h> from that header
file.

Cc: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Tested-by: default avatarHimanshu Madhani <hmadhani@marvell.com>
Reviewed-by: default avatarHimanshu Madhani <hmadhani@marvell.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent e752a04e
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#ifndef __QLA_NVME_H #ifndef __QLA_NVME_H
#define __QLA_NVME_H #define __QLA_NVME_H
#include <linux/blk-mq.h>
#include <uapi/scsi/fc/fc_fs.h> #include <uapi/scsi/fc/fc_fs.h>
#include <uapi/scsi/fc/fc_els.h> #include <uapi/scsi/fc/fc_els.h>
#include <linux/nvme-fc-driver.h> #include <linux/nvme-fc-driver.h>
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
#ifndef _NVME_FC_DRIVER_H #ifndef _NVME_FC_DRIVER_H
#define _NVME_FC_DRIVER_H 1 #define _NVME_FC_DRIVER_H 1
#include <linux/scatterlist.h>
/* /*
* ********************** LLDD FC-NVME Host API ******************** * ********************** LLDD FC-NVME Host API ********************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment