diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-03-22 12:54:26 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-03-24 19:19:22 -0400 |
commit | b816c6bf69a7d9b99e55e71485c9f4ef5ec6acbe (patch) | |
tree | 32e99ab208ac30c76d6c46daa3bf63088e0fdd21 /drivers | |
parent | 16c0a2db0c4a937078df3268c15c2c5f2885db77 (diff) | |
download | linux-stable-b816c6bf69a7d9b99e55e71485c9f4ef5ec6acbe.tar.gz linux-stable-b816c6bf69a7d9b99e55e71485c9f4ef5ec6acbe.tar.bz2 linux-stable-b816c6bf69a7d9b99e55e71485c9f4ef5ec6acbe.zip |
scsi: dmx3191d: 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-32-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/dmx3191d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index a171ce6b70b2..dfb091d34363 100644 --- a/drivers/scsi/dmx3191d.c +++ b/drivers/scsi/dmx3191d.c @@ -39,7 +39,7 @@ #define DMX3191D_REGION_LEN 8 -static struct scsi_host_template dmx3191d_driver_template = { +static const struct scsi_host_template dmx3191d_driver_template = { .module = THIS_MODULE, .proc_name = DMX3191D_DRIVER_NAME, .name = "Domex DMX3191D", |