]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
USB: fix build with XEN and EARLY_PRINTK_DBGP enabled but USB_SUPPORT disabled
authorJan Beulich <JBeulich@suse.com>
Mon, 29 Oct 2012 16:45:54 +0000 (16:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 20:05:14 +0000 (13:05 -0700)
commitd99e65bda806f49e192dd31e9b01959974dea3cd
treee2d55153d1cfd2b69ae6f3f91e397988b1462ffe
parent8e493ca1767d4951ed1322abaa74d6edbca29918
USB: fix build with XEN and EARLY_PRINTK_DBGP enabled but USB_SUPPORT disabled

Since there's no possible caller of dbgp_external_startup() and
dbgp_reset_prep() when !USB_EHCI_HCD, there's no point in building and
exporting these functions in that case. This eliminates a build error
under the conditions listed in the subject, introduced with the merge
f1c6872e4980bc4078cfaead05f892b3d78dea64.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/early/ehci-dbgp.c