summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2023-03-22 20:54:55 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2023-03-25 00:19:58 +0100
commit36242912e24f0d4c00406b065f90019800ac3708 (patch)
tree76766e8cdead0a35df04ffa0eb20393aec93abc0 /drivers
parentscsi: myrs: Declare SCSI host template const (diff)
downloadlinux-36242912e24f0d4c00406b065f90019800ac3708.tar.xz
linux-36242912e24f0d4c00406b065f90019800ac3708.zip
scsi: nsp32: 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-61-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
-rw-r--r--drivers/scsi/nsp32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c
index 75bb0028ed74..b7987019686e 100644
--- a/drivers/scsi/nsp32.c
+++ b/drivers/scsi/nsp32.c
@@ -259,7 +259,7 @@ static void nsp32_dmessage(const char *, int, int, char *, ...);
/*
* max_sectors is currently limited up to 128.
*/
-static struct scsi_host_template nsp32_template = {
+static const struct scsi_host_template nsp32_template = {
.proc_name = "nsp32",
.name = "Workbit NinjaSCSI-32Bi/UDE",
.show_info = nsp32_show_info,