]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Fix linker errors with CONFIG_PM=n
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 15 Oct 2010 21:59:15 +0000 (14:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:15 +0000 (10:22 -0700)
commitf056c1d5a24a8d5c2cbde3e5a259316e0d4d46b1
tree6c68d7e5ab037deef677e35a8b1bfc425e63694f
parent5f638f8b9e590877257ece36d77853ed703da6a8
usb: Fix linker errors with CONFIG_PM=n

Fix these linker errors when CONFIG_PM=n:

ERROR: "xhci_bus_resume" [drivers/usb/host/xhci-hcd.ko] undefined!
ERROR: "xhci_bus_suspend" [drivers/usb/host/xhci-hcd.ko] undefined!

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h