mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 09:55:55 +00:00
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>
This commit is contained in:
parent
e32605062c
commit
12f30833b9
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue