aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2014-02-26 13:56:59 +0000
committerJames Bottomley <[email protected]>2014-03-19 18:35:57 +0000
commit11ddceca99ae9a3e124b91dfe9c5342ee09f376d (patch)
treed7257e5000ada4e338adefafe7110ecd0882f4e9 /drivers/scsi/scsi_debug.c
parent[SCSI] scsi_debug: fix false positive logical block reference tag check fail (diff)
downloadkernel-11ddceca99ae9a3e124b91dfe9c5342ee09f376d.tar.gz
kernel-11ddceca99ae9a3e124b91dfe9c5342ee09f376d.zip
[SCSI] scsi_debug: make pseudo_primary static
As pseudo_primary is only used in scsi_debug.c, it should be static. Signed-off-by: Akinobu Mita <[email protected]> Reviewed-by: Douglas Gilbert <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r--drivers/scsi/scsi_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index bdfb9be1ec75..9cd211ea4719 100644
--- a/drivers/scsi/scsi_debug.c
+++ b/drivers/scsi/scsi_debug.c
@@ -3246,7 +3246,7 @@ static struct attribute *sdebug_drv_attrs[] = {
};
ATTRIBUTE_GROUPS(sdebug_drv);
-struct device *pseudo_primary;
+static struct device *pseudo_primary;
static int __init scsi_debug_init(void)
{