diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-12-08 13:35:02 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-12-11 21:32:44 +0000 |
commit | ab28ccc0c67f52d8966b8172108cb8a6f76e6d2a (patch) | |
tree | 603989d1aa783e41ba0bb2bdaf4090ba01583118 /hw/usb-musb.c | |
parent | 5e0259e7facb6aaac326c3beef79e4d2414c38d4 (diff) |
Record which USBDevice USBPort belongs too.
Ports on root hub will have NULL here. This is needed to reconstruct
path from device to its root hub to build device path.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/usb-musb.c')
-rw-r--r-- | hw/usb-musb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-musb.c b/hw/usb-musb.c index 7f15842962..9efe7a6344 100644 --- a/hw/usb-musb.c +++ b/hw/usb-musb.c @@ -343,7 +343,7 @@ struct MUSBState { } usb_bus_new(&s->bus, NULL /* FIXME */); - usb_register_port(&s->bus, &s->port, s, 0, musb_attach); + usb_register_port(&s->bus, &s->port, s, 0, NULL, musb_attach); return s; } |