mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00: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 @@ static irqreturn_t ps3rom_interrupt(int irq, void *data)
|
||||
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