From 51954d565fc5566897f6a6d90feb62e4944cebc5 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 17 Nov 2009 11:28:41 +0100 Subject: Fix qdev property type definition for isa serial/parallel devices Use the correct qdev property type for these devices. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- hw/parallel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/parallel.c') diff --git a/hw/parallel.c b/hw/parallel.c index 5ae8348..12693d4 100644 --- a/hw/parallel.c +++ b/hw/parallel.c @@ -587,7 +587,7 @@ static ISADeviceInfo parallel_isa_info = { .qdev.size = sizeof(ISAParallelState), .init = parallel_isa_initfn, .qdev.props = (Property[]) { - DEFINE_PROP_HEX32("index", ISAParallelState, index, -1), + DEFINE_PROP_UINT32("index", ISAParallelState, index, -1), DEFINE_PROP_HEX32("iobase", ISAParallelState, iobase, -1), DEFINE_PROP_UINT32("irq", ISAParallelState, isairq, 7), DEFINE_PROP_CHR("chardev", ISAParallelState, state.chr), -- cgit v1.1