scsi: dc395x: 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-31-bvanassche@acm.org Acked-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
f44e1c639e
commit
16c0a2db0c
|
@ -4541,7 +4541,7 @@ static int dc395x_show_info(struct seq_file *m, struct Scsi_Host *host)
|
|||
}
|
||||
|
||||
|
||||
static struct scsi_host_template dc395x_driver_template = {
|
||||
static const struct scsi_host_template dc395x_driver_template = {
|
||||
.module = THIS_MODULE,
|
||||
.proc_name = DC395X_NAME,
|
||||
.show_info = dc395x_show_info,
|
||||
|
|
Loading…
Reference in New Issue