]> git.proxmox.com Git - mirror_qemu.git/commitdiff
sh7750: Remove redundant 'struct' from MemoryRegionOps
authorStefan Weil <sw@weilnetz.de>
Sat, 25 Feb 2012 12:37:13 +0000 (13:37 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 7 Mar 2012 13:03:50 +0000 (13:03 +0000)
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>
hw/sh7750.c
hw/sh_intc.c

index 4f4d8e7d05aa06f40ce2939380c1b7b88b8affb0..e7129283d19c98f584564276a7b162dc3bd40f63 100644 (file)
@@ -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,
index b24ec7758295b10cd4f6dabd022431da60feac05..7d31ced858f8a98fae6e58b173f58f79b464efaf 100644 (file)
@@ -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,