diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-10-13 17:08:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:44 -0400 |
commit | 0c0382e32d46f606951010b202382be14d180a17 (patch) | |
tree | 078327baa96637ca6d70bae3c59a16b0ff46f1f1 /drivers/usb/host/ehci-pci.c | |
parent | bb200f6eac6372839921be1fe87c1f5c292a7bd6 (diff) |
[PATCH] USB: Rename hcd->hub_suspend to hcd->bus_suspend
This patch (as580) is perhaps the only result from the long discussion I
had with David about his changes to the root-hub suspend/resume code. It
renames the hub_suspend and hub_resume methods in struct usb_hcd to
bus_suspend and bus_resume. These are more descriptive names, since the
methods really do suspend or resume an entire USB bus, and less likely to
be confused with the hub_suspend and hub_resume routines in hub.c.
It also takes David's advice about removing the layer of bus glue, where
those methods are called. And it implements a related change that David
made to the other HCDs but forgot to put into dummy_hcd.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
-rw-r--r-- | drivers/usb/host/ehci-pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index 66ebf75b2037..8bbc8dfe19f3 100644 --- a/drivers/usb/host/ehci-pci.c +++ b/drivers/usb/host/ehci-pci.c | |||
@@ -363,8 +363,8 @@ static const struct hc_driver ehci_pci_hc_driver = { | |||
363 | */ | 363 | */ |
364 | .hub_status_data = ehci_hub_status_data, | 364 | .hub_status_data = ehci_hub_status_data, |
365 | .hub_control = ehci_hub_control, | 365 | .hub_control = ehci_hub_control, |
366 | .hub_suspend = ehci_hub_suspend, | 366 | .bus_suspend = ehci_bus_suspend, |
367 | .hub_resume = ehci_hub_resume, | 367 | .bus_resume = ehci_bus_resume, |
368 | }; | 368 | }; |
369 | 369 | ||
370 | /*-------------------------------------------------------------------------*/ | 370 | /*-------------------------------------------------------------------------*/ |