mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scst_local: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified.
This commit is contained in:
@@ -1375,7 +1375,7 @@ static struct scst_tgt_template scst_local_targ_tmpl = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static struct scsi_host_template scst_lcl_ini_driver_template = {
|
||||
static const struct scsi_host_template scst_lcl_ini_driver_template = {
|
||||
.name = SCST_LOCAL_NAME,
|
||||
.queuecommand = scst_local_queuecommand,
|
||||
.change_queue_depth = scst_local_change_queue_depth,
|
||||
|
||||
Reference in New Issue
Block a user