mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +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
1 changed files with 1 additions and 1 deletions
|
@ -6736,7 +6736,7 @@ static const char *ipr_ioa_info(struct Scsi_Host *host)
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct scsi_host_template driver_template = {
|
static const struct scsi_host_template driver_template = {
|
||||||
.module = THIS_MODULE,
|
.module = THIS_MODULE,
|
||||||
.name = "IPR",
|
.name = "IPR",
|
||||||
.info = ipr_ioa_info,
|
.info = ipr_ioa_info,
|
||||||
|
|
Loading…
Reference in a new issue