OSDN Git Service

scsi: qla2xxx: Modify NVMe include directives
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:02:08 +0000 (20:02 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:08 +0000 (21:34 -0400)
commit3cb5f3aeaf07215ba86f0ed45f084a9056968dd5
treed9b466dd9f5ddea595a3c529958b1d15aedf4674
parente752a04e1bd14ccff2762605004f515ad9b0d48a
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: Bart Van Assche <bvanassche@acm.org>
Tested-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.h
include/linux/nvme-fc-driver.h