mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -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
|
@ -79,7 +79,7 @@ static void bmdma_write(void *opaque, target_phys_addr_t addr,
|
|||
}
|
||||
}
|
||||
|
||||
static MemoryRegionOps piix_bmdma_ops = {
|
||||
static const MemoryRegionOps piix_bmdma_ops = {
|
||||
.read = bmdma_read,
|
||||
.write = bmdma_write,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue