mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-07-05 21:35:46 +02: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;
|
return IRQ_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct scsi_host_template ps3rom_host_template = {
|
static const struct scsi_host_template ps3rom_host_template = {
|
||||||
.name = DEVICE_NAME,
|
.name = DEVICE_NAME,
|
||||||
.slave_configure = ps3rom_slave_configure,
|
.slave_configure = ps3rom_slave_configure,
|
||||||
.queuecommand = ps3rom_queuecommand,
|
.queuecommand = ps3rom_queuecommand,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user