From a64e6bb4db601b561f2d3a80dfc554ddfe73db74 Mon Sep 17 00:00:00 2001
From: kbuild test robot <fengguang.wu@intel.com>
Date: Wed, 5 Nov 2014 18:47:07 +0800
Subject: [PATCH] NVMe: __nvme_submit_admin_cmd() can be static

drivers/block/nvme-core.c:865:5: sparse: symbol '__nvme_submit_admin_cmd' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
---
 drivers/block/nvme-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c
index f7a87173e3f0..8393f91b2721 100644
--- a/drivers/block/nvme-core.c
+++ b/drivers/block/nvme-core.c
@@ -862,7 +862,7 @@ static int nvme_submit_admin_async_cmd(struct nvme_dev *dev,
 	return nvme_submit_cmd(nvmeq, cmd);
 }
 
-int __nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd,
+static int __nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd,
 						u32 *result, unsigned timeout)
 {
 	int res;
-- 
2.20.1