aboutsummaryrefslogtreecommitdiff
path: root/hw/fdc.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
commitd4bfa4d7c6e53f03df49f2dfc3fa87d5e18218dd (patch)
treeeeba5e21d01737d1261dc96e129a7608455e8687 /hw/fdc.c
parente59fb3741bee196e3177fdbd2d00c87865ecace3 (diff)
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/fdc.c')
-rw-r--r--hw/fdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/fdc.c b/hw/fdc.c
index c03ab476c3..a7c65c70ff 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -643,9 +643,9 @@ static const VMStateDescription vmstate_fdrive = {
}
};
-static void fdc_pre_save(const void *opaque)
+static void fdc_pre_save(void *opaque)
{
- fdctrl_t *s = (void *)opaque;
+ fdctrl_t *s = opaque;
s->dor_vmstate = s->dor | GET_CUR_DRV(s);
}