summaryrefslogtreecommitdiff
path: root/hw/hpet.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-29 22:48:22 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:37 -0500
commita62794ed61c2bedd55cb9805aa1258588daf2f1c (patch)
treeeeba5e21d01737d1261dc96e129a7608455e8687 /hw/hpet.c
parent527b784eba1eda074fb3e5169ec06f2c4ba8867f (diff)
downloadqemu-a62794ed61c2bedd55cb9805aa1258588daf2f1c.tar.gz
qemu-a62794ed61c2bedd55cb9805aa1258588daf2f1c.tar.bz2
qemu-a62794ed61c2bedd55cb9805aa1258588daf2f1c.zip
vmstate: remove const from pre_save() functions
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/hpet.c')
-rw-r--r--hw/hpet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/hpet.c b/hw/hpet.c
index 6535b8ebf2..64163bd524 100644
--- a/hw/hpet.c
+++ b/hw/hpet.c
@@ -157,9 +157,9 @@ static void update_irq(struct HPETTimer *timer)
}
}
-static void hpet_pre_save(const void *opaque)
+static void hpet_pre_save(void *opaque)
{
- HPETState *s = (void *)opaque;
+ HPETState *s = opaque;
/* save current counter value */
s->hpet_counter = hpet_get_ticks();
}