scsi: wd719x: Declare SCSI host template const
authorBart Van Assche <bvanassche@acm.org>
Wed, 22 Mar 2023 19:55:10 +0000 (12:55 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 24 Mar 2023 23:19:59 +0000 (19:19 -0400)
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-76-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/wd719x.c

index ff1b2207725186fe365b33facc457bee87c667bc..5a380eecfc758481ea05f1e5e9a3e20b6eca4a13 100644 (file)
@@ -878,7 +878,7 @@ fail_free_params:
        return ret;
 }
 
-static struct scsi_host_template wd719x_template = {
+static const struct scsi_host_template wd719x_template = {
        .module                         = THIS_MODULE,
        .name                           = "Western Digital 719x",
        .cmd_size                       = sizeof(struct wd719x_scb),