From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/nvme/host/fabrics.h

Change-Id: I1cd8d376b53e638f60a04bf23b872677971b7745
---
 drivers/nvme/host/fabrics.h | 2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/nvme/host/fabrics.h
+++ b/drivers/nvme/host/fabrics.h
@@ -226,9 +226,11 @@ int nvmf_get_address(struct nvme_ctrl *c
 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl);
 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl,
 		struct nvmf_ctrl_options *opts);
+#ifdef HAVE_BLK_MQ_HCTX_TYPE
 void nvmf_set_io_queues(struct nvmf_ctrl_options *opts, u32 nr_io_queues,
 			u32 io_queues[HCTX_MAX_TYPES]);
 void nvmf_map_queues(struct blk_mq_tag_set *set, struct nvme_ctrl *ctrl,
 		     u32 io_queues[HCTX_MAX_TYPES]);
+#endif
 
 #endif /* _NVME_FABRICS_H */
