svn commit: r220306 - stable/8/sys/dev/usb

Hans Petter Selasky hselasky at FreeBSD.org
Sun Apr 3 21:01:37 UTC 2011


Author: hselasky
Date: Sun Apr  3 21:01:36 2011
New Revision: 220306
URL: http://svn.freebsd.org/changeset/base/220306

Log:
  MFC r213434
  Add missing #if's
  
  Approved by:	thompsa (mentor)

Modified:
  stable/8/sys/dev/usb/usb_handle_request.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/usb/usb_handle_request.c
==============================================================================
--- stable/8/sys/dev/usb/usb_handle_request.c	Sun Apr  3 20:54:32 2011	(r220305)
+++ stable/8/sys/dev/usb/usb_handle_request.c	Sun Apr  3 21:01:36 2011	(r220306)
@@ -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 */
 }
 


More information about the svn-src-all mailing list