diff options
author | Shixin Liu <liushixin2@huawei.com> | 2021-03-27 08:31:57 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-30 05:36:58 +0200 |
commit | e27f3c88e2500556b2f1f0ed134a2a4834f88ba3 (patch) | |
tree | 4fa27457f952d575241083ef23b7c0df66a7b6ef /drivers/scsi/myrs.c | |
parent | scsi: myrb: Make symbols DAC960_{LA/PG/PD/P}_privdata static (diff) | |
download | linux-e27f3c88e2500556b2f1f0ed134a2a4834f88ba3.tar.xz linux-e27f3c88e2500556b2f1f0ed134a2a4834f88ba3.zip |
scsi: myrs: Make symbols DAC960_{GEM/BA/LP}_privdata static
This symbol is not used outside of myrs.c, so we can mark it static.
Link: https://lore.kernel.org/r/20210327073157.1786772-1-liushixin2@huawei.com
Signed-off-by: Shixin Liu <liushixin2@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/scsi/myrs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/myrs.c b/drivers/scsi/myrs.c index 588c0de006b0..3d55208db3ba 100644 --- a/drivers/scsi/myrs.c +++ b/drivers/scsi/myrs.c @@ -2656,7 +2656,7 @@ static irqreturn_t DAC960_GEM_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrs_privdata DAC960_GEM_privdata = { +static struct myrs_privdata DAC960_GEM_privdata = { .hw_init = DAC960_GEM_hw_init, .irq_handler = DAC960_GEM_intr_handler, .mmio_size = DAC960_GEM_mmio_size, @@ -2906,7 +2906,7 @@ static irqreturn_t DAC960_BA_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrs_privdata DAC960_BA_privdata = { +static struct myrs_privdata DAC960_BA_privdata = { .hw_init = DAC960_BA_hw_init, .irq_handler = DAC960_BA_intr_handler, .mmio_size = DAC960_BA_mmio_size, @@ -3156,7 +3156,7 @@ static irqreturn_t DAC960_LP_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrs_privdata DAC960_LP_privdata = { +static struct myrs_privdata DAC960_LP_privdata = { .hw_init = DAC960_LP_hw_init, .irq_handler = DAC960_LP_intr_handler, .mmio_size = DAC960_LP_mmio_size, |