aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-05-30 15:59:06 +0300
committerMichael S. Tsirkin <mst@redhat.com>2013-06-02 18:14:15 +0300
commitc3c4fe35be9f6c37388ba7615c6c33e8f4034438 (patch)
tree7fa5abe11477b4fe04c5911a03fed86b5ac2c986 /hw
parentcac122103abac633d7b39aac87273bf6d5a37588 (diff)
pvpanic: use FWCfgState explicitly
Use the type-safe FWCfgState structure instead of the unsafe void *. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/misc/pvpanic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c
index 159340f5f7..910e44f9d2 100644
--- a/hw/misc/pvpanic.c
+++ b/hw/misc/pvpanic.c
@@ -90,7 +90,7 @@ static int pvpanic_isa_initfn(ISADevice *dev)
{
PVPanicState *s = ISA_PVPANIC_DEVICE(dev);
static bool port_configured;
- void *fw_cfg;
+ FWCfgState *fw_cfg;
memory_region_init_io(&s->io, &pvpanic_ops, s, "pvpanic", 1);
isa_register_ioport(dev, &s->io, s->ioport);