Skip to content

Commit

Permalink
usb: ehci-omap: fix compilation warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ajay Kumar Gupta authored and Greg Kroah-Hartman committed May 20, 2010
1 parent f5cddcd commit 289621c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/host/ehci-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 289621c

Please sign in to comment.