提交 289621c3 编写于 作者: A Ajay Kumar Gupta 提交者: Greg Kroah-Hartman

usb: ehci-omap: fix compilation warning

Fixes below compilation warning:
drivers/usb/host/ehci-hcd.c:425:
	warning: 'ehci_port_power' defined but not used
Signed-off-by: NAjay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 f5cddcd0
...@@ -659,6 +659,9 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev) ...@@ -659,6 +659,9 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
goto err_add_hcd; goto err_add_hcd;
} }
/* root ports should always stay powered */
ehci_port_power(omap->ehci, 1);
return 0; return 0;
err_add_hcd: err_add_hcd:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册