Author: hselasky
Date: Mon Oct 4 22:50:08 2010
New Revision: 213434
URL: http://svn.freebsd.org/changeset/base/213434
Log:
Add missing #if's
Approved by: thompsa (mentor)
Modified:
head/sys/dev/usb/usb_handle_request.c
Modified: head/sys/dev/usb/usb_handle_request.c
==============================================================================
--- head/sys/dev/usb/usb_handle_request.c Mon Oct 4 22:45:17 2010
(r213433)
+++ head/sys/dev/usb/usb_handle_request.c Mon Oct 4 22:50:08 2010
(r213434)
@@ -438,8 +438,10 @@ usb_handle_remote_wakeup(struct usb_xfer
USB_BUS_UNLOCK(bus);
+#if USB_HAVE_POWERD
/* In case we are out of sync, update the power state. */
usb_bus_power_update(udev->bus);
+#endif
return (0); /* success */
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"