aboutsummaryrefslogtreecommitdiff
path: root/hw/fdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/fdc.c')
-rw-r--r--hw/fdc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/fdc.c b/hw/fdc.c
index fa154a30c..4ad5e5ee8 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -33,6 +33,7 @@
#include "qemu-timer.h"
#include "isa.h"
#include "sysbus.h"
+#include "qdev-addr.h"
/********************************************************/
/* debug Floppy devices */
@@ -1972,7 +1973,7 @@ static SysBusDeviceInfo fdc_info = {
.qdev.props = (Property[]) {
{
.name = "io_base",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_taddr,
.offset = offsetof(fdctrl_t, io_base),
},
{