summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-sm501.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-23 12:14:37 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-23 10:18:53 -0700
commit068b054fde5cc0516717b4ec4d58d0659e1ca43b (patch)
tree74a4303f3ac22919a24fea43589b04c1f7dd9bc5 /drivers/usb/host/ohci-sm501.c
parent5843de34e2abd6b66ac6cebf2ce4739d404616dc (diff)
downloadtalos-obmc-linux-068b054fde5cc0516717b4ec4d58d0659e1ca43b.tar.gz
talos-obmc-linux-068b054fde5cc0516717b4ec4d58d0659e1ca43b.zip
USB: OHCI: sm501: fix build failure after ohci_finish_controller_resume removal
Commit cfa49b4b (USB: ohci: merge ohci_finish_controller_resume with ohci_resume) merged ohci_finish_controller_resume with ohci_resume but forgot to update the ohci-sm501 driver accordingly, thus causing the folllowing build failure: drivers/usb/host/ohci-sm501.c: In function 'ohci_sm501_resume': drivers/usb/host/ohci-sm501.c:241:2: error: implicit declaration of function 'ohci_finish_controller_resume' [-Werror=implicit-function-declaration] Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-sm501.c')
-rw-r--r--drivers/usb/host/ohci-sm501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-sm501.c b/drivers/usb/host/ohci-sm501.c
index 5596ac2ba1ca..3b5b908fd47b 100644
--- a/drivers/usb/host/ohci-sm501.c
+++ b/drivers/usb/host/ohci-sm501.c
@@ -238,7 +238,7 @@ static int ohci_sm501_resume(struct platform_device *pdev)
ohci->next_statechange = jiffies;
sm501_unit_power(dev->parent, SM501_GATE_USB_HOST, 1);
- ohci_finish_controller_resume(hcd);
+ ohci_resume(hcd, false);
return 0;
}
#else
OpenPOWER on IntegriCloud