Commit 33dedb29 authored by Gleb Chesnokov's avatar Gleb Chesnokov
Browse files

scst_local: Declare SCSI host template const

Make it explicit that the SCSI host template is not modified.
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment