diff options
Diffstat (limited to 'sys/dev/usb/usb.c')
| -rw-r--r-- | sys/dev/usb/usb.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 891aca757e66..4a166db0f418 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -174,7 +174,11 @@ extern int cold; static const char *usbrev_str[] = USBREV_STR; -USB_DECLARE_DRIVER(usb); +USB_DECLARE_DRIVER_INIT(usb, + DEVMETHOD(device_suspend, bus_generic_suspend), + DEVMETHOD(device_resume, bus_generic_resume), + DEVMETHOD(device_shutdown, bus_generic_shutdown) + ); USB_MATCH(usb) { |
