|
@@ -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,
|