diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:55:07 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:59 +0100 |
commit | 08d6075192d10a9a54ba2155b5f68a923dbce131 (patch) | |
tree | 6652cef225b7872cb60ae598821738dc873afc71 /drivers/scsi/stex.c | |
parent | scsi: snic: Declare SCSI host template const (diff) | |
download | linux-08d6075192d10a9a54ba2155b5f68a923dbce131.tar.xz linux-08d6075192d10a9a54ba2155b5f68a923dbce131.zip |
scsi: stex: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230322195515.1267197-73-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/stex.c')
-rw-r--r-- | drivers/scsi/stex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index 8def242675ef..5b230e149c3d 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c @@ -1472,7 +1472,7 @@ static int stex_biosparam(struct scsi_device *sdev, return 0; } -static struct scsi_host_template driver_template = { +static const struct scsi_host_template driver_template = { .module = THIS_MODULE, .name = DRV_NAME, .proc_name = DRV_NAME, |