diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:29 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:22 -0400 |
commit | 3b465a149146032be5c3e42735e7eaf45517aa97 (patch) | |
tree | 9a300484889bdbe655ebbe2f32ada40daea37f0c /drivers/scsi/zorro_esp.c | |
parent | 1f4e77dbcbad700777197a24a30cdafb3a3b57b1 (diff) | |
download | lwn-3b465a149146032be5c3e42735e7eaf45517aa97.tar.gz lwn-3b465a149146032be5c3e42735e7eaf45517aa97.zip |
scsi: esp_scsi: 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-35-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/zorro_esp.c')
-rw-r--r-- | drivers/scsi/zorro_esp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/zorro_esp.c b/drivers/scsi/zorro_esp.c index 928c8adf5cb3..56cae22a4242 100644 --- a/drivers/scsi/zorro_esp.c +++ b/drivers/scsi/zorro_esp.c @@ -713,7 +713,7 @@ MODULE_DEVICE_TABLE(zorro, zorro_esp_zorro_tbl); static int zorro_esp_probe(struct zorro_dev *z, const struct zorro_device_id *ent) { - struct scsi_host_template *tpnt = &scsi_esp_template; + const struct scsi_host_template *tpnt = &scsi_esp_template; struct Scsi_Host *host; struct esp *esp; const struct zorro_driver_data *zdd; |