diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-02-05 10:19:07 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-03-11 11:40:15 +0000 |
commit | a348f108842fb928563865c9918642900cd0d477 (patch) | |
tree | 4f931c6cfbd4aab447a7f7bade1d176a457ad76b /hw/spapr_pci.c | |
parent | 9d6fca70c771ac50a641aa2558e3a19c4e2b09b8 (diff) | |
download | qemu-a348f108842fb928563865c9918642900cd0d477.zip qemu-a348f108842fb928563865c9918642900cd0d477.tar.gz qemu-a348f108842fb928563865c9918642900cd0d477.tar.bz2 |
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/spapr_pci.c')
-rw-r--r-- | hw/spapr_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr_pci.c b/hw/spapr_pci.c index cfdd9dd..374dcf8 100644 --- a/hw/spapr_pci.c +++ b/hw/spapr_pci.c @@ -281,7 +281,7 @@ static void spapr_io_write(void *opaque, target_phys_addr_t addr, assert(0); } -static MemoryRegionOps spapr_io_ops = { +static const MemoryRegionOps spapr_io_ops = { .endianness = DEVICE_LITTLE_ENDIAN, .read = spapr_io_read, .write = spapr_io_write |