Re: [Qemu-devel] [PATCH v2 02/26] ohci: QOM'ify some more

2013-07-02 Thread Andreas Färber
Am 01.07.2013 12:18, schrieb Hu Tao: > Introduce type constant and avoid DO_UPCAST(). > > Signed-off-by: Hu Tao > --- > hw/usb/hcd-ohci.c | 20 > 1 file changed, 12 insertions(+), 8 deletions(-) > > diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c > index 5513924..912255d

[Qemu-devel] [PATCH v2 02/26] ohci: QOM'ify some more

2013-07-01 Thread Hu Tao
Introduce type constant and avoid DO_UPCAST(). Signed-off-by: Hu Tao --- hw/usb/hcd-ohci.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 5513924..912255d 100644 --- a/hw/usb/hcd-ohci.c +++ b/hw/usb/hcd-ohci.c