summaryrefslogtreecommitdiff
path: root/hw/opencores_eth.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/opencores_eth.c
parent9d6fca70c771ac50a641aa2558e3a19c4e2b09b8 (diff)
downloadqemu-a348f108842fb928563865c9918642900cd0d477.tar.gz
qemu-a348f108842fb928563865c9918642900cd0d477.tar.bz2
qemu-a348f108842fb928563865c9918642900cd0d477.zip
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/opencores_eth.c')
-rw-r--r--hw/opencores_eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/opencores_eth.c b/hw/opencores_eth.c
index 9b036cb103..4c7696935f 100644
--- a/hw/opencores_eth.c
+++ b/hw/opencores_eth.c
@@ -692,12 +692,12 @@ static void open_eth_desc_write(void *opaque,
}
-static MemoryRegionOps open_eth_reg_ops = {
+static const MemoryRegionOps open_eth_reg_ops = {
.read = open_eth_reg_read,
.write = open_eth_reg_write,
};
-static MemoryRegionOps open_eth_desc_ops = {
+static const MemoryRegionOps open_eth_desc_ops = {
.read = open_eth_desc_read,
.write = open_eth_desc_write,
};