mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: Ajay Kumar Gupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
f5cddcd099
commit
289621c31b
1 changed files with 3 additions and 0 deletions
|
|
@ -659,6 +659,9 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
|
|||
goto err_add_hcd;
|
||||
}
|
||||
|
||||
/* root ports should always stay powered */
|
||||
ehci_port_power(omap->ehci, 1);
|
||||
|
||||
return 0;
|
||||
|
||||
err_add_hcd:
|
||||
|
|
|
|||
Loading…
Reference in a new issue