mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -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
|
@ -634,7 +634,7 @@ static uint32_t cuda_readl (void *opaque, target_phys_addr_t addr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static MemoryRegionOps cuda_ops = {
|
||||
static const MemoryRegionOps cuda_ops = {
|
||||
.old_mmio = {
|
||||
.write = {
|
||||
cuda_writeb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue