diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2008-07-06 14:26:30 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-13 17:32:52 -0700 |
commit | e8b24450a635bbbd3a2b4c2649eef060c742ebc0 (patch) | |
tree | 7117fc61fb291011cc4b8978c93ffd96e461e89d /drivers/usb/host/ohci-hub.c | |
parent | 1133cd8adf34709e1857d1491e9fae5597b51ad5 (diff) | |
download | linux-e8b24450a635bbbd3a2b4c2649eef060c742ebc0.tar.gz linux-e8b24450a635bbbd3a2b4c2649eef060c742ebc0.tar.bz2 linux-e8b24450a635bbbd3a2b4c2649eef060c742ebc0.zip |
USB: Hook start_hnp into ohci struct
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-hub.c')
-rw-r--r-- | drivers/usb/host/ohci-hub.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c index d54183f1d701..439beb784f3e 100644 --- a/drivers/usb/host/ohci-hub.c +++ b/drivers/usb/host/ohci-hub.c @@ -579,8 +579,6 @@ static int ohci_start_port_reset (struct usb_hcd *hcd, unsigned port) return 0; } -static void start_hnp(struct ohci_hcd *ohci); - #else #define ohci_start_port_reset NULL @@ -767,7 +765,7 @@ static int ohci_hub_control ( #ifdef CONFIG_USB_OTG if (hcd->self.otg_port == (wIndex + 1) && hcd->self.b_hnp_enable) - start_hnp(ohci); + ohci->start_hnp(ohci); else #endif ohci_writel (ohci, RH_PS_PSS, |