diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2010-05-04 10:23:09 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:40 -0400 |
commit | 289621c31bffb743e4007f6332b9004cdd080644 (patch) | |
tree | e85b4ea2e5120a0298e9c8dc7971f4ce84dc3026 /drivers/usb/host | |
parent | f5cddcd0995366f15d2b6b0df556a2cd99fa806e (diff) |
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')
-rw-r--r-- | drivers/usb/host/ehci-omap.c | 3 |
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) | |||
659 | goto err_add_hcd; | 659 | goto err_add_hcd; |
660 | } | 660 | } |
661 | 661 | ||
662 | /* root ports should always stay powered */ | ||
663 | ehci_port_power(omap->ehci, 1); | ||
664 | |||
662 | return 0; | 665 | return 0; |
663 | 666 | ||
664 | err_add_hcd: | 667 | err_add_hcd: |