diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c index 81ce8156f15..3d57addadbb 100644 --- a/drivers/usb/host/ehci-hub.c +++ b/drivers/usb/host/ehci-hub.c @@ -1126,10 +1126,9 @@ static int ehci_hub_control ( #ifdef CONFIG_USB_OTG if (hcd->self.otg_port == (wIndex + 1) && - hcd->self.b_hnp_enable && - ehci->start_hnp) { + hcd->self.b_hnp_enable) { set_bit(wIndex, &ehci->suspended_ports); - ehci->start_hnp(ehci); + otg_start_hnp(ehci->transceiver->otg); break; } #endif diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index a875b6a1e24..b71f9e31a2c 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -136,7 +136,6 @@ struct ehci_hcd { /* one per controller */ u32 command; unsigned max_log2_irq_thresh; - void (*start_hnp)(struct ehci_hcd *ehci); /* SILICON QUIRKS */ unsigned no_selective_suspend:1;