]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
target: mark tcm_loop_primary static
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Mar 2015 11:27:32 +0000 (12:27 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 26 Mar 2015 21:52:01 +0000 (14:52 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/loopback/tcm_loop.c

index 6b3c329546895ab1095beb5c048ef24c6e1cea19..f4618e7221873f501dfa5275054c902670d3c434 100644 (file)
@@ -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)
 {