usb: add usb_wakeup() + wakeup callback to port ops
commit01eacab6e95267fd894d0c1013aa5bf55c320dc8
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 1 Dec 2010 10:32:45 +0000 (1 11:32 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Jan 2011 16:01:02 +0000 (11 17:01 +0100)
treea25c25138a68f4700ac2a22f70110966b00d244e
parent618c169b577db64ac6589ad48825d2e11760d1a6
usb: add usb_wakeup() + wakeup callback to port ops

Add wakeup callback to port ops for remote wakeup handling.
Also add a usb_wakeup() function for devices which want
trigger a remote wakeup.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb.c
hw/usb.h