diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 20:54:29 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-25 00:19:22 +0100 |
commit | 3b465a149146032be5c3e42735e7eaf45517aa97 (patch) | |
tree | 9a300484889bdbe655ebbe2f32ada40daea37f0c /drivers/scsi/mac_esp.c | |
parent | scsi: esas2r: Declare SCSI host template const (diff) | |
download | linux-3b465a149146032be5c3e42735e7eaf45517aa97.tar.xz linux-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/mac_esp.c')
-rw-r--r-- | drivers/scsi/mac_esp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mac_esp.c b/drivers/scsi/mac_esp.c index 6d23ab5aee56..3f0061b00494 100644 --- a/drivers/scsi/mac_esp.c +++ b/drivers/scsi/mac_esp.c @@ -289,7 +289,7 @@ static struct esp_driver_ops mac_esp_ops = { static int esp_mac_probe(struct platform_device *dev) { - struct scsi_host_template *tpnt = &scsi_esp_template; + const struct scsi_host_template *tpnt = &scsi_esp_template; struct Scsi_Host *host; struct esp *esp; int err; |