mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
scsi: ps3rom: Declare SCSI host template const
Make it explicit that the SCSI host template is not modified. Tested-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20230322195515.1267197-66-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
d23901a8d7
commit
4fe61364e7
@ -323,7 +323,7 @@ done:
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static struct scsi_host_template ps3rom_host_template = {
|
||||
static const struct scsi_host_template ps3rom_host_template = {
|
||||
.name = DEVICE_NAME,
|
||||
.slave_configure = ps3rom_slave_configure,
|
||||
.queuecommand = ps3rom_queuecommand,
|
||||
|
Loading…
Reference in New Issue
Block a user