summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hcd-pci.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2010-11-15 15:57:30 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-16 14:02:54 -0800
commit6ddf27cdbc218a412d7e993fdc08e30eec2042ce (patch)
tree393232ac1a8123961b62cb72cfc4b0bc617b333c /drivers/usb/core/hcd-pci.c
parent045cac6b3b067a9286dabfb789f67ae4f433f88b (diff)
downloadblackbird-op-linux-6ddf27cdbc218a412d7e993fdc08e30eec2042ce.tar.gz
blackbird-op-linux-6ddf27cdbc218a412d7e993fdc08e30eec2042ce.zip
USB: make usb_mark_last_busy use pm_runtime_mark_last_busy
Since the runtime-PM core already defines a .last_busy field in device.power, this patch uses it to replace the .last_busy field defined in usb_device and uses pm_runtime_mark_last_busy to implement usb_mark_last_busy. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Reviewed-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/hcd-pci.c')
-rw-r--r--drivers/usb/core/hcd-pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index 3799573bd385..b55d46070a25 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -19,7 +19,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
-#include <linux/pm_runtime.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
OpenPOWER on IntegriCloud