From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:26 +0000 (-0700) Subject: scsi: dmx3191d: Declare SCSI host template const X-Git-Tag: v6.4-rc1~133^2~26^2~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b816c6bf69a7d9b99e55e71485c9f4ef5ec6acbe;p=thirdparty%2Fkernel%2Flinux.git scsi: dmx3191d: Declare SCSI host template const Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche Link: https://lore.kernel.org/r/20230322195515.1267197-32-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index a171ce6b70b2c..dfb091d34363f 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",