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:
Stefan Weil 2012-02-05 10:19:07 +00:00 committed by Blue Swirl
parent 9d6fca70c7
commit a348f10884
9 changed files with 13 additions and 13 deletions

View file

@ -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,