mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
scsi: make reqops const
Also delete a stale occurrence of SCSIReqOps inside SCSIDeviceInfo. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
7877903aa0
commit
adcf2754b9
4 changed files with 10 additions and 11 deletions
|
@ -420,7 +420,7 @@ static int scsi_generic_initfn(SCSIDevice *s)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static SCSIReqOps scsi_generic_req_ops = {
|
||||
static const SCSIReqOps scsi_generic_req_ops = {
|
||||
.size = sizeof(SCSIGenericReq),
|
||||
.free_req = scsi_free_request,
|
||||
.send_command = scsi_send_command,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue