From a348f108842fb928563865c9918642900cd0d477 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 5 Feb 2012 10:19:07 +0000 Subject: 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 Signed-off-by: Blue Swirl --- hw/ide/macio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/ide/macio.c') diff --git a/hw/ide/macio.c b/hw/ide/macio.c index abbc41b59e..a4df24406a 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -291,7 +291,7 @@ static uint32_t pmac_ide_readl (void *opaque,target_phys_addr_t addr) return retval; } -static MemoryRegionOps pmac_ide_ops = { +static const MemoryRegionOps pmac_ide_ops = { .old_mmio = { .write = { pmac_ide_writeb, -- cgit v1.2.1