]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
USB: fix compile problems in ehci-hcd
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 18 Apr 2008 15:11:26 +0000 (11:11 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:54 +0000 (21:16 -0700)
commitaff6d18f95bb81b2d07994372c8edcc2c2b41180
treedcb93a3eb64c5c9a7bbe46c8fd6d09851d7b2007
parent4f6676274fb6303a8e8100d086ea8c2c00c0d8e3
USB: fix compile problems in ehci-hcd

This patch (as1072) fixes some recently-introduced compile problems
that show up in ehci-hcd when CONFIG_PM is turned off.

PORT_WAKE_BITS needs to be defined always.

ehci_port_power() is called during initialization by all the
EHCI variants other than the PCI version, in which it is
"defined but not used".  So add a call to it.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hub.c
drivers/usb/host/ehci-pci.c