diff options
Diffstat (limited to 'hw/usb-ccid.c')
-rw-r--r-- | hw/usb-ccid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c index e9935ad9e6..3b7f95d28a 100644 --- a/hw/usb-ccid.c +++ b/hw/usb-ccid.c @@ -1114,7 +1114,7 @@ static int ccid_card_exit(DeviceState *qdev) { int ret = 0; CCIDCardState *card = DO_UPCAST(CCIDCardState, qdev, qdev); - CCIDCardInfo *info = DO_UPCAST(CCIDCardInfo, qdev, qdev->info); + CCIDCardInfo *info = DO_UPCAST(CCIDCardInfo, qdev, qdev_get_info(qdev)); USBCCIDState *s = DO_UPCAST(USBCCIDState, dev.qdev, card->qdev.parent_bus->parent); |