Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: ufs: 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-80-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Bart Van Assche and committed by
Martin K. Petersen
f2e2fe3d 8e2ab8cd

+1 -1
+1 -1
drivers/ufs/core/ufshcd.c
··· 8721 8721 .ondemand_data.downdifferential = 5, 8722 8722 }; 8723 8723 8724 - static struct scsi_host_template ufshcd_driver_template = { 8724 + static const struct scsi_host_template ufshcd_driver_template = { 8725 8725 .module = THIS_MODULE, 8726 8726 .name = UFSHCD, 8727 8727 .proc_name = UFSHCD,