mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 15:03:04 +00:00
scsi: ipr: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Acked-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-48-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
4ba116af0f
commit
4ea4394e71
|
@ -6736,7 +6736,7 @@ static const char *ipr_ioa_info(struct Scsi_Host *host)
|
|||
return buffer;
|
||||
}
|
||||
|
||||
static struct scsi_host_template driver_template = {
|
||||
static const struct scsi_host_template driver_template = {
|
||||
.module = THIS_MODULE,
|
||||
.name = "IPR",
|
||||
.info = ipr_ioa_info,
|
||||
|
|
Loading…
Reference in New Issue
Block a user