aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/qdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index 5016968e86..204c4e5d95 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -198,7 +198,7 @@ extern PropertyInfo qdev_prop_pci_devfn;
#define DEFINE_PROP_CHR(_n, _s, _f) \
DEFINE_PROP(_n, _s, _f, qdev_prop_chr, CharDriverState*)
#define DEFINE_PROP_DRIVE(_n, _s, _f) \
- DEFINE_PROP(_n, _s, _f, qdev_prop_chr, DriveInfo*)
+ DEFINE_PROP(_n, _s, _f, qdev_prop_drive, DriveInfo*)
#define DEFINE_PROP_MACADDR(_n, _s, _f) \
DEFINE_PROP(_n, _s, _f, qdev_prop_macaddr, uint8_t[6])