mirror of https://gitee.com/openkylin/linux.git
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 <ajay.gupta@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
f5cddcd099
commit
289621c31b
|
@ -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 New Issue