From: Bart Van Assche Date: Wed, 22 Mar 2023 19:54:32 +0000 (-0700) Subject: scsi: qedf: Declare host template const X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=be8532d15342d3ee64c39512a6f162ffb313ffa2;p=linux.git scsi: qedf: Declare 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-38-bvanassche@acm.org Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index 35e16600fc637..e7f2560b9f7d4 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -979,7 +979,7 @@ static int qedf_slave_configure(struct scsi_device *sdev) return 0; } -static struct scsi_host_template qedf_host_template = { +static const struct scsi_host_template qedf_host_template = { .module = THIS_MODULE, .name = QEDF_MODULE_NAME, .this_id = -1,