projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5cddcd
)
usb: ehci-omap: fix compilation warning
author
Ajay Kumar Gupta
<ajay.gupta@ti.com>
Tue, 4 May 2010 14:23:09 +0000
(19:53 +0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 20 May 2010 20:21:40 +0000
(13:21 -0700)
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>
drivers/usb/host/ehci-omap.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-omap.c
b/drivers/usb/host/ehci-omap.c
index
40a8583
..
711332e
100644
(file)
--- 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: