diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:40 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:56 -0400 |
commit | 09dce26c4a8957069d06bdf4046b45bfc0ba7f38 (patch) | |
tree | 2dba9b1d9f46d908f4b321b615095d36ee671690 /drivers/scsi/imm.c | |
parent | 7bced3fc285a3f0791eb50bd1c9bbf4305804f50 (diff) | |
download | lwn-09dce26c4a8957069d06bdf4046b45bfc0ba7f38.tar.gz lwn-09dce26c4a8957069d06bdf4046b45bfc0ba7f38.zip |
scsi: imm: 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-46-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/imm.c')
-rw-r--r-- | drivers/scsi/imm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/imm.c b/drivers/scsi/imm.c index 7a499d621c25..07db98161a03 100644 --- a/drivers/scsi/imm.c +++ b/drivers/scsi/imm.c @@ -1096,7 +1096,7 @@ static int imm_adjust_queue(struct scsi_device *device) return 0; } -static struct scsi_host_template imm_template = { +static const struct scsi_host_template imm_template = { .module = THIS_MODULE, .proc_name = "imm", .show_info = imm_show_info, |