projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.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
|
blame
|
history
diff --git
a/drivers/usb/host/ehci-omap.c
b/drivers/usb/host/ehci-omap.c
index 40a8583350353883719112b33c739a382d424a17..711332ebdab5b0408343d7960baf0b3e01f53b80 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: