diff options
author | Bart Van Assche <[email protected]> | 2023-03-22 12:55:11 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-03-24 19:20:00 -0400 |
commit | 65e5447a10140a91bb10b67e30dccab4357892e2 (patch) | |
tree | 83845cea7b4df3a84de5d395ffc2b9df74a3558e | |
parent | a5b78e81c712c3eb3229cdc4fa559dea60f93cd8 (diff) |
scsi: xen-scsifront: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified.
Reviewed-by: Juergen Gross <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/xen-scsifront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/xen-scsifront.c b/drivers/scsi/xen-scsifront.c index 71a3bb83984c..caae61aa2afe 100644 --- a/drivers/scsi/xen-scsifront.c +++ b/drivers/scsi/xen-scsifront.c @@ -770,7 +770,7 @@ static void scsifront_sdev_destroy(struct scsi_device *sdev) } } -static struct scsi_host_template scsifront_sht = { +static const struct scsi_host_template scsifront_sht = { .module = THIS_MODULE, .name = "Xen SCSI frontend driver", .queuecommand = scsifront_queuecommand, |