mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 11:55:37 +00:00
scsi: aha152x: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-19-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
8afc6e14a6
commit
11e58ceacf
1 changed files with 2 additions and 2 deletions
|
@ -400,7 +400,7 @@ MODULE_DEVICE_TABLE(isapnp, id_table);
|
|||
|
||||
#endif /* !AHA152X_PCMCIA */
|
||||
|
||||
static struct scsi_host_template aha152x_driver_template;
|
||||
static const struct scsi_host_template aha152x_driver_template;
|
||||
|
||||
/*
|
||||
* internal states of the host
|
||||
|
@ -2946,7 +2946,7 @@ static int aha152x_adjust_queue(struct scsi_device *device)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct scsi_host_template aha152x_driver_template = {
|
||||
static const struct scsi_host_template aha152x_driver_template = {
|
||||
.module = THIS_MODULE,
|
||||
.name = AHA152X_REVID,
|
||||
.proc_name = "aha152x",
|
||||
|
|
Loading…
Reference in a new issue