aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-pxa27x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-pxa27x.c')
-rw-r--r--drivers/usb/host/ohci-pxa27x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c
index 2bf11440b010..efe71f3ca477 100644
--- a/drivers/usb/host/ohci-pxa27x.c
+++ b/drivers/usb/host/ohci-pxa27x.c
@@ -284,7 +284,7 @@ MODULE_DEVICE_TABLE(of, pxa_ohci_dt_ids);
284 284
285static u64 pxa_ohci_dma_mask = DMA_BIT_MASK(32); 285static u64 pxa_ohci_dma_mask = DMA_BIT_MASK(32);
286 286
287static int __devinit ohci_pxa_of_init(struct platform_device *pdev) 287static int ohci_pxa_of_init(struct platform_device *pdev)
288{ 288{
289 struct device_node *np = pdev->dev.of_node; 289 struct device_node *np = pdev->dev.of_node;
290 struct pxaohci_platform_data *pdata; 290 struct pxaohci_platform_data *pdata;
@@ -330,7 +330,7 @@ static int __devinit ohci_pxa_of_init(struct platform_device *pdev)
330 return 0; 330 return 0;
331} 331}
332#else 332#else
333static int __devinit ohci_pxa_of_init(struct platform_device *pdev) 333static int ohci_pxa_of_init(struct platform_device *pdev)
334{ 334{
335 return 0; 335 return 0;
336} 336}
@@ -471,7 +471,7 @@ void usb_hcd_pxa27x_remove (struct usb_hcd *hcd, struct platform_device *pdev)
471 471
472/*-------------------------------------------------------------------------*/ 472/*-------------------------------------------------------------------------*/
473 473
474static int __devinit 474static int
475ohci_pxa27x_start (struct usb_hcd *hcd) 475ohci_pxa27x_start (struct usb_hcd *hcd)
476{ 476{
477 struct ohci_hcd *ohci = hcd_to_ohci (hcd); 477 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
@@ -591,7 +591,7 @@ static int ohci_hcd_pxa27x_drv_resume(struct device *dev)
591 /* Select Power Management Mode */ 591 /* Select Power Management Mode */
592 pxa27x_ohci_select_pmm(ohci, inf->port_mode); 592 pxa27x_ohci_select_pmm(ohci, inf->port_mode);
593 593
594 ohci_finish_controller_resume(hcd); 594 ohci_resume(hcd, false);
595 return 0; 595 return 0;
596} 596}
597 597