summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/stex.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-04-25 18:36:19 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-26 18:32:29 -0400
commit9385c5be5ce03d023a1cd860376aed7fd1f3a5b3 (patch)
tree73a0456a11a5800b746436eb1488fc0f7a658bcf /drivers/scsi/stex.c
parentc0e3a6acdebc5b98c65a379460df1b4b2fe6c0d3 (diff)
downloadlinux-9385c5be5ce03d023a1cd860376aed7fd1f3a5b3.tar.bz2
scsi: stex: make S6flag static
This module specific flag can be made static as it does not need to be in global scope. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Charles Chiou <charles.chiou@tw.promise.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/stex.c')
-rw-r--r--drivers/scsi/stex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c
index 0751561b59da..9b20643ab49d 100644
--- a/drivers/scsi/stex.c
+++ b/drivers/scsi/stex.c
@@ -363,7 +363,7 @@ struct st_card_info {
u16 sts_count;
};
-int S6flag;
+static int S6flag;
static int stex_halt(struct notifier_block *nb, ulong event, void *buf);
static struct notifier_block stex_notifier = {
stex_halt, NULL, 0