From: Christoph Hellwig <hch@lst.de>
Date: Thu, 26 Mar 2015 11:27:32 +0000 (+0100)
Subject: target: mark tcm_loop_primary static
X-Git-Tag: firefly_0821_release~176^2~1863^2~57
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6e1a27b919c643a1570885425d639f77f04d8690;p=firefly-linux-kernel-4.4.55.git

target: mark tcm_loop_primary static

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
---

diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c
index 6b3c32954689..f4618e722187 100644
--- a/drivers/target/loopback/tcm_loop.c
+++ b/drivers/target/loopback/tcm_loop.c
@@ -108,7 +108,7 @@ static struct device_driver tcm_loop_driverfs = {
 /*
  * Used with root_device_register() in tcm_loop_alloc_core_bus() below
  */
-struct device *tcm_loop_primary;
+static struct device *tcm_loop_primary;
 
 static void tcm_loop_submission_work(struct work_struct *work)
 {