aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorYongbok Kim <yongbok.kim@imgtec.com>2017-03-14 16:51:56 +0000
committerYongbok Kim <yongbok.kim@imgtec.com>2017-03-20 11:20:35 +0000
commit1b393b310f887f22608624f62e5c7bbbc01b1fe7 (patch)
tree412e7a855c951f021c6a416c0b7c53869b91ccef /hw
parentc627e7526a902dd5bb1907dbbd5cf961679dfa68 (diff)
dma/rc4030: fix a mixed declarations and code warning
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/dma/rc4030.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
index 5f10b9d918..0080141905 100644
--- a/hw/dma/rc4030.c
+++ b/hw/dma/rc4030.c
@@ -99,8 +99,8 @@ typedef struct rc4030State
static void set_next_tick(rc4030State *s)
{
- qemu_irq_lower(s->timer_irq);
uint32_t tm_hz;
+ qemu_irq_lower(s->timer_irq);
tm_hz = 1000 / (s->itr + 1);