Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Apr 2011 21:01:37 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r220306 - stable/8/sys/dev/usb
Message-ID:  <201104032101.p33L1bgK055822@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104032101.p33L1bgK055822>