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

Change-Id: Ia6b7efa54174639c1fcec915c6064f1809c0816a
---
 drivers/nvme/host/zns.c | 3 +++
 1 file changed, 3 insertions(+)

--- a/drivers/nvme/host/zns.c
+++ b/drivers/nvme/host/zns.c
@@ -3,6 +3,8 @@
  * Copyright (C) 2020 Western Digital Corporation or its affiliates.
  */
 
+#ifdef HAVE_BLK_QUEUE_MAX_ACTIVE_ZONES
+
 #include <linux/blkdev.h>
 #include <linux/vmalloc.h>
 #include "nvme.h"
@@ -248,3 +250,4 @@ blk_status_t nvme_setup_zone_mgmt_send(s
 
 	return BLK_STS_OK;
 }
+#endif /* HAVE_BLK_QUEUE_MAX_ACTIVE_ZONES */
