]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/usb/core/hub.c
[PATCH] usbcore: Remove hub_set_power_budget
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 25 Apr 2005 15:18:32 +0000 (11:18 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:48 +0000 (14:43 -0700)
commit7d35b9298539d2818c51fe9070b08cf9876016f4
tree32d539508821499c77b3c824232358ff4e8ecf25
parentf58f97fa9d258e4110ee1257a63cd1af51787f69
[PATCH] usbcore: Remove hub_set_power_budget

This patch removes the hub_set_power_budget routine, which was used by a
couple of HCDs to indicate that the root hub was running on battery power.
In its place is a new field added to struct usb_hcd, which HCDs can set
before the root hub is registered.  Special-case code in the hub driver
knows to look at this field when configuring a root hub.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.h
drivers/usb/core/hub.c
drivers/usb/core/hub.h