aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/esp_scsi.c
diff options
context:
space:
mode:
authorMartin K. Petersen <[email protected]>2023-03-25 00:13:03 +0000
committerMartin K. Petersen <[email protected]>2023-03-25 00:13:03 +0000
commit62d15dba0aa4448c15da9c9443018c70fc2527b2 (patch)
tree09817a55288ad1754dbd201488824382b9df622e /drivers/scsi/esp_scsi.c
parentMerge patch series "arcmsr fixes" (diff)
parentscsi: usb: uas: Declare two host templates and host template pointers const (diff)
downloadkernel-62d15dba0aa4448c15da9c9443018c70fc2527b2.tar.gz
kernel-62d15dba0aa4448c15da9c9443018c70fc2527b2.zip
Merge patch series "Constify most SCSI host templates"
Bart Van Assche <[email protected]> says: It helps humans and the compiler if it is made explicit that SCSI host templates are not modified. Hence this patch series that constifies most SCSI host templates. Please consider this patch series for the next merge window. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/esp_scsi.c')
-rw-r--r--drivers/scsi/esp_scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c
index 64ec6bb84550..97816a0e6240 100644
--- a/drivers/scsi/esp_scsi.c
+++ b/drivers/scsi/esp_scsi.c
@@ -2660,7 +2660,7 @@ static const char *esp_info(struct Scsi_Host *host)
return "esp";
}
-struct scsi_host_template scsi_esp_template = {
+const struct scsi_host_template scsi_esp_template = {
.module = THIS_MODULE,
.name = "esp",
.info = esp_info,