diff options
Diffstat (limited to 'hw/usb-musb.c')
-rw-r--r-- | hw/usb-musb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/usb-musb.c b/hw/usb-musb.c index 9eb0d6361f..09ec5a1256 100644 --- a/hw/usb-musb.c +++ b/hw/usb-musb.c @@ -281,7 +281,7 @@ typedef struct { struct MUSBState { qemu_irq *irqs; - USBBus *bus; + USBBus bus; USBPort port; int idx; @@ -331,8 +331,8 @@ struct MUSBState { s->ep[i].epnum = i; } - s->bus = usb_bus_new(NULL /* FIXME */); - usb_register_port(s->bus, &s->port, s, 0, musb_attach); + usb_bus_new(&s->bus, NULL /* FIXME */); + usb_register_port(&s->bus, &s->port, s, 0, musb_attach); return s; } |