summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-omap.c
diff options
context:
space:
mode:
authorAjay Kumar Gupta <ajay.gupta@ti.com>2010-05-04 18:23:09 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-21 00:21:40 +0400
commit289621c31bffb743e4007f6332b9004cdd080644 (patch)
treee85b4ea2e5120a0298e9c8dc7971f4ce84dc3026 /drivers/usb/host/ehci-omap.c
parentf5cddcd0995366f15d2b6b0df556a2cd99fa806e (diff)
downloadlinux-289621c31bffb743e4007f6332b9004cdd080644.tar.xz
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: