aboutsummaryrefslogtreecommitdiff
path: root/hw/cuda.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-05 10:19:07 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-03-11 11:40:15 +0000
commita348f108842fb928563865c9918642900cd0d477 (patch)
tree4f931c6cfbd4aab447a7f7bade1d176a457ad76b /hw/cuda.c
parent9d6fca70c771ac50a641aa2558e3a19c4e2b09b8 (diff)
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>
Diffstat (limited to 'hw/cuda.c')
-rw-r--r--hw/cuda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cuda.c b/hw/cuda.c
index 40774360df..233ab666da 100644
--- a/hw/cuda.c
+++ b/hw/cuda.c
@@ -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,