summaryrefslogtreecommitdiffstats
path: root/hw/sh_intc.c
diff options
context:
space:
mode:
authorStefan Weil2012-02-25 13:37:13 +0100
committerStefan Hajnoczi2012-03-07 14:03:50 +0100
commit12f30833b91f80f12ba5bc86305eabec0e0e66c6 (patch)
tree1a5957be7eb69f917bceef1cba5873bfc483fa0b /hw/sh_intc.c
parentxilinx_zynq: machine model initial version (diff)
downloadqemu-12f30833b91f80f12ba5bc86305eabec0e0e66c6.tar.gz
qemu-12f30833b91f80f12ba5bc86305eabec0e0e66c6.tar.xz
qemu-12f30833b91f80f12ba5bc86305eabec0e0e66c6.zip
sh7750: Remove redundant 'struct' from MemoryRegionOps
The 'struct' is not needed, and all other MemoryRegionOps don't use it. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/sh_intc.c')
-rw-r--r--hw/sh_intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sh_intc.c b/hw/sh_intc.c
index b24ec77582..7d31ced858 100644
--- a/hw/sh_intc.c
+++ b/hw/sh_intc.c
@@ -283,7 +283,7 @@ static void sh_intc_write(void *opaque, target_phys_addr_t offset,
#endif
}
-static const struct MemoryRegionOps sh_intc_ops = {
+static const MemoryRegionOps sh_intc_ops = {
.read = sh_intc_read,
.write = sh_intc_write,
.endianness = DEVICE_NATIVE_ENDIAN,