~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to hw/usb/dev-hub.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
497
497
    }
498
498
}
499
499
 
500
 
static void usb_hub_handle_destroy(USBDevice *dev)
 
500
static void usb_hub_unrealize(USBDevice *dev, Error **errp)
501
501
{
502
502
    USBHubState *s = (USBHubState *)dev;
503
503
    int i;
575
575
    uc->handle_reset   = usb_hub_handle_reset;
576
576
    uc->handle_control = usb_hub_handle_control;
577
577
    uc->handle_data    = usb_hub_handle_data;
578
 
    uc->handle_destroy = usb_hub_handle_destroy;
 
578
    uc->unrealize      = usb_hub_unrealize;
579
579
    set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
580
580
    dc->fw_name = "hub";
581
581
    dc->vmsd = &vmstate_usb_hub;