aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-03-26 12:27:32 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2015-03-26 14:52:01 -0700
commit6e1a27b919c643a1570885425d639f77f04d8690 (patch)
treec963b6b34c4d6177992cf4de295b89c6fbefa0bc /drivers/target
parenttarget: move external declarations to a headers (diff)
downloadlinux-dev-6e1a27b919c643a1570885425d639f77f04d8690.tar.xz
linux-dev-6e1a27b919c643a1570885425d639f77f04d8690.zip
target: mark tcm_loop_primary static
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/loopback/tcm_loop.c2
1 files changed, 1 insertions, 1 deletions
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)
{