Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fix build of EHCI debug port code when USB_CHIPIDEA but !USB_EHCI_HCD

Relax condition of building the reset interface stubs in
drivers/usb/early/ehci-dbgp.c from USB_EHCI_HCD to just USB, to also
cover the chipidea driver re-using code from ehci-hcd.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jan Beulich and committed by
Greg Kroah-Hartman
bc8d51ea 09f6ffde

+2 -2
+2 -2
drivers/usb/early/ehci-dbgp.c
··· 974 974 .index = -1, 975 975 }; 976 976 977 - #if IS_ENABLED(CONFIG_USB_EHCI_HCD) 977 + #if IS_ENABLED(CONFIG_USB) 978 978 int dbgp_reset_prep(struct usb_hcd *hcd) 979 979 { 980 980 int ret = xen_dbgp_reset_prep(hcd); ··· 1008 1008 return xen_dbgp_external_startup(hcd) ?: _dbgp_external_startup(); 1009 1009 } 1010 1010 EXPORT_SYMBOL_GPL(dbgp_external_startup); 1011 - #endif /* USB_EHCI_HCD */ 1011 + #endif /* USB */ 1012 1012 1013 1013 #ifdef CONFIG_KGDB 1014 1014