mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Add missing const attributes for MemoryRegionOps
Most MemoryRegionOps already had the const attribute. This patch adds it to the remaining ones. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
9d6fca70c7
commit
a348f10884
9 changed files with 13 additions and 13 deletions
|
@ -224,7 +224,7 @@ static NetClientInfo net_mipsnet_info = {
|
|||
.cleanup = mipsnet_cleanup,
|
||||
};
|
||||
|
||||
static MemoryRegionOps mipsnet_ioport_ops = {
|
||||
static const MemoryRegionOps mipsnet_ioport_ops = {
|
||||
.read = mipsnet_ioport_read,
|
||||
.write = mipsnet_ioport_write,
|
||||
.impl.min_access_size = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue