diff options
author | Bart Van Assche <[email protected]> | 2023-03-22 12:55:12 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-03-24 19:20:00 -0400 |
commit | f8adf8e99a23a49dad9cdb054f2abba0ce5d1865 (patch) | |
tree | c2dd512c729bc831c7cf6846982e8c4aff0107ee | |
parent | 65e5447a10140a91bb10b67e30dccab4357892e2 (diff) |
scsi: rts5208: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified.
Acked-by: Greg Kroah-Hartman <[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/staging/rts5208/rtsx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c index 2284a96abcff..db2dd0baa8be 100644 --- a/drivers/staging/rts5208/rtsx.c +++ b/drivers/staging/rts5208/rtsx.c @@ -191,7 +191,7 @@ static int device_reset(struct scsi_cmnd *srb) * this defines our host template, with which we'll allocate hosts */ -static struct scsi_host_template rtsx_host_template = { +static const struct scsi_host_template rtsx_host_template = { /* basic userland interface stuff */ .name = CR_DRIVER_NAME, .proc_name = CR_DRIVER_NAME, |