@@ -172,8 +172,8 @@ static const MemoryRegionOps uart_ops = {
.endianness = DEVICE_NATIVE_ENDIAN,
.valid = {
.min_access_size = 1,
- .max_access_size = 4
- }
+ .max_access_size = 4,
+ },
};
static Property xilinx_uartlite_properties[] = {
@@ -146,8 +146,8 @@ static const MemoryRegionOps pic_ops = {
.endianness = DEVICE_NATIVE_ENDIAN,
.valid = {
.min_access_size = 4,
- .max_access_size = 4
- }
+ .max_access_size = 4,
+ },
};
static void irq_handler(void *opaque, int irq, int level)
@@ -172,8 +172,8 @@ static const MemoryRegionOps eth_ops = {
.endianness = DEVICE_NATIVE_ENDIAN,
.valid = {
.min_access_size = 4,
- .max_access_size = 4
- }
+ .max_access_size = 4,
+ },
};
static bool eth_can_rx(NetClientState *nc)
@@ -195,8 +195,8 @@ static const MemoryRegionOps timer_ops = {
.endianness = DEVICE_NATIVE_ENDIAN,
.valid = {
.min_access_size = 4,
- .max_access_size = 4
- }
+ .max_access_size = 4,
+ },
};
static void timer_hit(void *opaque)
Fix few MemoryRegionOps style before adding new fields in the following commits. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- hw/char/xilinx_uartlite.c | 4 ++-- hw/intc/xilinx_intc.c | 4 ++-- hw/net/xilinx_ethlite.c | 4 ++-- hw/timer/xilinx_timer.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)