usb-bus: remove "init" from USBDeviceClass struct
commitbd2ba2752d860d5a0b4f328332c3e0b79d275de8
authorGonglei <arei.gonglei@huawei.com>
Fri, 19 Sep 2014 06:48:41 +0000 (19 14:48 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Sep 2014 10:51:08 +0000 (23 12:51 +0200)
treec7965f931e5544aef1acec303f20e8dcba836797
parentdf9bb6660d922bcd4197791bb3b2c10e49ef55de
usb-bus: remove "init" from USBDeviceClass struct

All usb-bus devices are realized by realize(),
remove init callback function from USBDeviceClass struct.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/bus.c
include/hw/usb.h