summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/stex.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-04-25 19:36:19 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-27 00:32:29 +0200
commit9385c5be5ce03d023a1cd860376aed7fd1f3a5b3 (patch)
tree73a0456a11a5800b746436eb1488fc0f7a658bcf /drivers/scsi/stex.c
parentscsi: mac_esp: fix to pass correct device identity to free_irq() (diff)
downloadlinux-9385c5be5ce03d023a1cd860376aed7fd1f3a5b3.tar.xz
linux-9385c5be5ce03d023a1cd860376aed7fd1f3a5b3.zip
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