commit | a348f108842fb928563865c9918642900cd0d477 | [log] [tgz] |
---|---|---|
author | Stefan Weil <[email protected]> | Sun Feb 05 10:19:07 2012 +0000 |
committer | Blue Swirl <[email protected]> | Sun Mar 11 11:40:15 2012 +0000 |
tree | 4f931c6cfbd4aab447a7f7bade1d176a457ad76b | |
parent | 9d6fca70c771ac50a641aa2558e3a19c4e2b09b8 [diff] [blame] |
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 <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
diff --git a/hw/cuda.c b/hw/cuda.c index 4077436..233ab66 100644 --- a/hw/cuda.c +++ b/hw/cuda.c
@@ -634,7 +634,7 @@ return 0; } -static MemoryRegionOps cuda_ops = { +static const MemoryRegionOps cuda_ops = { .old_mmio = { .write = { cuda_writeb,