aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/dev-storage-bot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/dev-storage-bot.c')
-rw-r--r--hw/usb/dev-storage-bot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/dev-storage-bot.c b/hw/usb/dev-storage-bot.c
index 1e5c5c7..df6ab7f 100644
--- a/hw/usb/dev-storage-bot.c
+++ b/hw/usb/dev-storage-bot.c
@@ -40,7 +40,7 @@ static void usb_msd_bot_realize(USBDevice *dev, Error **errp)
usb_msd_handle_reset(dev);
}
-static void usb_msd_class_bot_initfn(ObjectClass *klass, void *data)
+static void usb_msd_class_bot_initfn(ObjectClass *klass, const void *data)
{
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);