[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v13 11/19] i.MX: Fix Coding style for GPT emulator
From: |
Jean-Christophe Dubois |
Subject: |
[Qemu-devel] [PATCH v13 11/19] i.MX: Fix Coding style for GPT emulator |
Date: |
Thu, 16 Jul 2015 23:21:36 +0200 |
Signed-off-by: Jean-Christophe Dubois <address@hidden>
Reviewed-by: Peter Crosthwaite <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
Changes since v10:
* no change.
Changes since v11:
* no change.
Changes since v12:
* no change.
hw/timer/imx_gpt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/timer/imx_gpt.c b/hw/timer/imx_gpt.c
index f61d4e5..01f802e 100644
--- a/hw/timer/imx_gpt.c
+++ b/hw/timer/imx_gpt.c
@@ -70,7 +70,7 @@ static char const *imx_gpt_reg_name(uint32_t reg)
#endif
static const VMStateDescription vmstate_imx_timer_gpt = {
- .name = "imx.gpt",
+ .name = TYPE_IMX_GPT,
.version_id = 3,
.minimum_version_id = 3,
.fields = (VMStateField[]) {
@@ -107,7 +107,7 @@ static void imx_gpt_set_freq(IMXGPTState *s)
{
uint32_t clksrc = extract32(s->cr, GPT_CR_CLKSRC_SHIFT, 3);
uint32_t freq = imx_clock_frequency(s->ccm, imx_gpt_clocks[clksrc])
- / (1 + s->pr);
+ / (1 + s->pr);
s->freq = freq;
DPRINTF("Setting clksrc %d to frequency %d\n", clksrc, freq);
@@ -134,7 +134,7 @@ static uint32_t imx_gpt_update_count(IMXGPTState *s)
}
static inline uint32_t imx_gpt_find_limit(uint32_t count, uint32_t reg,
- uint32_t timeout)
+ uint32_t timeout)
{
if ((count < reg) && (timeout > reg)) {
timeout = reg;
--
2.1.4
- [Qemu-devel] [PATCH v13 02/19] i.MX: Move serial initialization to init/realize of DeviceClass., (continued)
- [Qemu-devel] [PATCH v13 02/19] i.MX: Move serial initialization to init/realize of DeviceClass., Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 01/19] i.MX: Split UART emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 03/19] i.MX:Fix Coding style for UART emulator., Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 04/19] i.MX: Split AVIC emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 06/19] i.MX: Split CCM emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 05/19] i.MX: Fix Coding style for AVIC emulator., Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 07/19] i.MX: Fix Coding style for CCM emulator, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 08/19] i.MX: Split EPIT emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 09/19] i.MX: Fix Coding style for EPIT emulator, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 10/19] i.MX: Split GPT emulator in a header file and a source file, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 11/19] i.MX: Fix Coding style for GPT emulator,
Jean-Christophe Dubois <=
- [Qemu-devel] [PATCH v13 12/19] i.MX: Add SOC support for i.MX31, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 13/19] i.MX: KZM now uses the standalone i.MX31 SOC support, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 14/19] i.MX: Add I2C controller emulator, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 17/19] i.MX: Add the i.MX25 PDK plateform, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 16/19] i.MX: Add SOC support for i.MX25, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 15/19] i.MX: Add FEC Ethernet Emulator, Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 18/19] i.MX: Add qtest support for I2C device emulator., Jean-Christophe Dubois, 2015/07/16
- [Qemu-devel] [PATCH v13 19/19] i.MX: Adding i2C devices to i.MX31 SOC, Jean-Christophe Dubois, 2015/07/16
- Re: [Qemu-devel] [PATCH v13 00/19] i.MX: Add i.MX25 support through the PDK evaluation board, Jean-Christophe DUBOIS, 2015/07/30