Commit 289621c3 authored by Ajay Kumar Gupta's avatar Ajay Kumar Gupta Committed by 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: default avatarAjay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment