From 75f5941cb583712b37a557ce61b95eeba91f520e Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Fri, 26 Aug 2011 00:35:15 +0300 Subject: memory: add opaque parameter to memory_region_init_rom_device() The MemoryRegionOps callbacks expect it. Signed-off-by: Avi Kivity --- memory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'memory.h') diff --git a/memory.h b/memory.h index 0553cc7..06b83ae 100644 --- a/memory.h +++ b/memory.h @@ -235,6 +235,7 @@ void memory_region_init_alias(MemoryRegion *mr, */ void memory_region_init_rom_device(MemoryRegion *mr, const MemoryRegionOps *ops, + void *opaque, DeviceState *dev, /* FIXME: layering violation */ const char *name, uint64_t size); -- cgit v1.1