From: Ajay Kumar Gupta Date: Tue, 4 May 2010 14:23:09 +0000 (+0530) Subject: usb: ehci-omap: fix compilation warning X-Git-Tag: upstream/snapshot3+hdmi~14566^2~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=289621c31bffb743e4007f6332b9004cdd080644;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 40a8583..711332e 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -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: