aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-storage-classic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/dev-storage-classic.c')
-rw-r--r--hw/usb/dev-storage-classic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/dev-storage-classic.c b/hw/usb/dev-storage-classic.c
index 56ef39d..dabe156 100644
--- a/hw/usb/dev-storage-classic.c
+++ b/hw/usb/dev-storage-classic.c
@@ -74,7 +74,7 @@ static const Property msd_properties[] = {
DEFINE_PROP_BOOL("commandlog", MSDState, commandlog, false),
};
-static void usb_msd_class_storage_initfn(ObjectClass *klass, void *data)
+static void usb_msd_class_storage_initfn(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);