summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2014-02-26 22:56:59 +0900
committerJames Bottomley <JBottomley@Parallels.com>2014-03-19 11:35:57 -0700
commit11ddceca99ae9a3e124b91dfe9c5342ee09f376d (patch)
treed7257e5000ada4e338adefafe7110ecd0882f4e9 /drivers/scsi
parentc45eabec08776d462c34802d3e5bad295bda628e (diff)
downloadlinux-11ddceca99ae9a3e124b91dfe9c5342ee09f376d.tar.gz
linux-11ddceca99ae9a3e124b91dfe9c5342ee09f376d.tar.bz2
linux-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 <akinobu.mita@gmail.com> Reviewed-by: Douglas Gilbert <dgilbert@interlog.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-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)
{