[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v10 10/21] i.MX: Fix Coding style for EPIT emulator
From: |
Jean-Christophe Dubois |
Subject: |
[Qemu-devel] [PATCH v10 10/21] i.MX: Fix Coding style for EPIT emulator |
Date: |
Mon, 6 Jul 2015 02:05:02 +0200 |
Signed-off-by: Jean-Christophe Dubois <address@hidden>
---
Changes since v1:
* not present on v1
Changes since v2:
* not present on v2
Changes since v3:
* not present on v3
Changes since v4:
* not present on v4
Changes since v5:
* not present on v5
Changes since v6:
* not present on v6
Changes since v7:
* not present on v7
Changes since v8:
* Fix coding style
Changes since v9:
* no change
hw/timer/imx_epit.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/timer/imx_epit.c b/hw/timer/imx_epit.c
index 68dc0bc..9649851 100644
--- a/hw/timer/imx_epit.c
+++ b/hw/timer/imx_epit.c
@@ -127,9 +127,9 @@ static void imx_epit_reset(DeviceState *dev)
static uint32_t imx_epit_update_count(IMXEPITState *s)
{
- s->cnt = ptimer_get_count(s->timer_reload);
+ s->cnt = ptimer_get_count(s->timer_reload);
- return s->cnt;
+ return s->cnt;
}
static uint64_t imx_epit_read(void *opaque, hwaddr offset, unsigned size)
@@ -287,13 +287,13 @@ static void imx_epit_cmp(void *opaque)
}
static const MemoryRegionOps imx_epit_ops = {
- .read = imx_epit_read,
- .write = imx_epit_write,
- .endianness = DEVICE_NATIVE_ENDIAN,
+ .read = imx_epit_read,
+ .write = imx_epit_write,
+ .endianness = DEVICE_NATIVE_ENDIAN,
};
static const VMStateDescription vmstate_imx_timer_epit = {
- .name = "imx.epit",
+ .name = TYPE_IMX_EPIT,
.version_id = 2,
.minimum_version_id = 2,
.fields = (VMStateField[]) {
--
2.1.4
- [Qemu-devel] [PATCH v10 01/21] i.MX: Split UART emulator in a header file and a source file, (continued)
- [Qemu-devel] [PATCH v10 01/21] i.MX: Split UART emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 03/21] i.MX:Fix Coding style for UART emulator., Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 02/21] i.MX: Move serial initialization to init/realize of DeviceClass., Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 04/21] i.MX: Split AVIC emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 05/21] i.MX: Fix Coding style for AVIC emulator., Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 07/21] i.MX: Fix Coding style for CCM emulator, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 06/21] i.MX: Split CCM emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 08/21] i.MX: Split EPIT emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 10/21] i.MX: Fix Coding style for EPIT emulator,
Jean-Christophe Dubois <=
- [Qemu-devel] [PATCH v10 09/21] i.MX: Move Qdev EPIT construction helper as inline function., Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 11/21] i.MX: Split GPT emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 12/21] i.MX: Move Qdev GPT construction helper as inline function., Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 13/21] i.MX: Fix Coding style for GPT emulator, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 14/21] i.MX: Add SOC support for i.MX31, Jean-Christophe Dubois, 2015/07/05
- [Qemu-devel] [PATCH v10 15/21] i.MX: KZM now uses the standalone i.MX31 SOC support, Jean-Christophe Dubois, 2015/07/05