summary refs log tree commit diff stats
path: root/hw/ide/ide-bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ide/ide-bus.c')
-rw-r--r--hw/ide/ide-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/ide-bus.c b/hw/ide/ide-bus.c
index 437502b5b4..b24e4d17b4 100644
--- a/hw/ide/ide-bus.c
+++ b/hw/ide/ide-bus.c
@@ -29,7 +29,7 @@
 static char *idebus_get_fw_dev_path(DeviceState *dev);
 static void idebus_unrealize(BusState *qdev);
 
-static void ide_bus_class_init(ObjectClass *klass, void *data)
+static void ide_bus_class_init(ObjectClass *klass, const void *data)
 {
     BusClass *k = BUS_CLASS(klass);