summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorYongbok Kim2017-03-14 17:51:56 +0100
committerYongbok Kim2017-03-20 12:20:35 +0100
commit1b393b310f887f22608624f62e5c7bbbc01b1fe7 (patch)
tree412e7a855c951f021c6a416c0b7c53869b91ccef /hw
parentdma/rc4030: translate memory accesses only when they occur (diff)
downloadqemu-1b393b310f887f22608624f62e5c7bbbc01b1fe7.tar.gz
qemu-1b393b310f887f22608624f62e5c7bbbc01b1fe7.tar.xz
qemu-1b393b310f887f22608624f62e5c7bbbc01b1fe7.zip
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);