diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-02-25 13:37:13 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-03-07 13:03:50 +0000 |
commit | 12f30833b91f80f12ba5bc86305eabec0e0e66c6 (patch) | |
tree | 1a5957be7eb69f917bceef1cba5873bfc483fa0b | |
parent | e32605062cd62c2a958ad28a6ad7de4eeab12027 (diff) |
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>
-rw-r--r-- | hw/sh7750.c | 2 | ||||
-rw-r--r-- | hw/sh_intc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c index 4f4d8e7d0..e7129283d 100644 --- a/hw/sh7750.c +++ b/hw/sh7750.c @@ -712,7 +712,7 @@ static void sh7750_mmct_write(void *opaque, target_phys_addr_t addr, } } -static const struct MemoryRegionOps sh7750_mmct_ops = { +static const MemoryRegionOps sh7750_mmct_ops = { .read = sh7750_mmct_read, .write = sh7750_mmct_write, .endianness = DEVICE_NATIVE_ENDIAN, diff --git a/hw/sh_intc.c b/hw/sh_intc.c index b24ec7758..7d31ced85 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, |