summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-omap.c
diff options
context:
space:
mode:
authorAjay Kumar Gupta <ajay.gupta@ti.com>2010-05-04 19:53:09 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:40 -0700
commit289621c31bffb743e4007f6332b9004cdd080644 (patch)
treee85b4ea2e5120a0298e9c8dc7971f4ce84dc3026 /drivers/usb/host/ehci-omap.c
parentf5cddcd0995366f15d2b6b0df556a2cd99fa806e (diff)
downloadblackbird-op-linux-289621c31bffb743e4007f6332b9004cdd080644.tar.gz
blackbird-op-linux-289621c31bffb743e4007f6332b9004cdd080644.zip
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>
Diffstat (limited to 'drivers/usb/host/ehci-omap.c')
-rw-r--r--drivers/usb/host/ehci-omap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index 40a858335035..711332ebdab5 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:
OpenPOWER on IntegriCloud