summary refs log tree commit diff stats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-08-31 21:49:40 +0100
committerGerd Hoffmann <kraxel@redhat.com>2011-09-07 09:58:27 +0200
commit406c20754a29586f6dc1fccacbca3792be24922c (patch)
treed15e1050cbd8d53927d629dda12f712919fbe0b9 /linux-user/syscall.c
parent9147b752887d65dfe2431f0fbff1d4a2545344d0 (diff)
downloadfocaccia-qemu-406c20754a29586f6dc1fccacbca3792be24922c.tar.gz
focaccia-qemu-406c20754a29586f6dc1fccacbca3792be24922c.zip
usb-musb: Take a DeviceState* in init function
Initialise usb-musb by passing it a DeviceState* and the offset of the
IRQs in its gpio array, rather than a plain pointer to an irq array.
This is simpler for callers and also allows us to pass in a valid parent
to usb_bus_new(), so the USB bus actually appears in the qdev tree.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions