mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
scsi: pcmcia-pm8001: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-63-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
54aefe23a6
commit
8fe69e4abd
@ -96,7 +96,7 @@ static void pm8001_map_queues(struct Scsi_Host *shost)
|
||||
/*
|
||||
* The main structure which LLDD must register for scsi core.
|
||||
*/
|
||||
static struct scsi_host_template pm8001_sht = {
|
||||
static const struct scsi_host_template pm8001_sht = {
|
||||
.module = THIS_MODULE,
|
||||
.name = DRV_NAME,
|
||||
.proc_name = DRV_NAME,
|
||||
|
Loading…
Reference in New Issue
Block a user