WSL2-Linux-Kernel/include/linux/usb
Guenter Roeck 94468783cd usb: usb_phy_gen: refine conditional declaration of usb_nop_xceiv_register
Commit 3fa4d734 (usb: phy: rename nop_usb_xceiv => usb_phy_gen_xceiv)
changed the conditional around the declaration of usb_nop_xceiv_register
from
	#if defined(CONFIG_NOP_USB_XCEIV) ||
		(defined(CONFIG_NOP_USB_XCEIV_MODULE) && defined(MODULE))
to
	#if IS_ENABLED(CONFIG_NOP_USB_XCEIV)

While that looks the same, it is semantically different. The first expression
is true if CONFIG_NOP_USB_XCEIV is built as module and if the including
code is built as module. The second expression is true if code depending on
CONFIG_NOP_USB_XCEIV if built as module or into the kernel.

As a result, the arm:allmodconfig build fails with

arch/arm/mach-omap2/built-in.o: In function `omap3_evm_init':
arch/arm/mach-omap2/board-omap3evm.c:703: undefined reference to
	`usb_nop_xceiv_register'

Fix the problem by reverting to the old conditional.

Cc: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-17 09:34:30 -07:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc-wdm.h
cdc_ncm.h
ch9.h
chipidea.h usb: chipidea: retire flag CI_HDRC_PULLUP_ON_VBUS 2013-08-14 12:37:20 -07:00
composite.h
ehci_def.h
ehci_pdriver.h ehci-platform: add pre_setup() method to platform data 2013-06-11 16:10:45 +09:00
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: udc-core: move sysfs_notify() to a workqueue 2013-07-29 13:57:02 +03:00
gadget_configfs.h
gpio_vbus.h
hcd.h USB: fix build error when CONFIG_PM_SLEEP isn't enabled 2013-08-30 11:12:06 -07:00
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb.h
msm_hsusb_hw.h
musb-omap.h
musb-ux500.h
musb.h
net2280.h
of.h usb: of: fix build breakage caused by recent patches 2013-07-30 09:09:15 +03:00
ohci_pdriver.h
omap_control_usb.h
omap_usb.h
otg.h usb: add devicetree helpers for determining dr_mode and phy_type 2013-06-17 13:47:09 -07:00
phy.h usb: phy: protect against NULL phy pointers 2013-07-29 13:56:45 +03:00
phy_companion.h
quirks.h
r8a66597.h
renesas_usbhs.h
rndis_host.h
samsung_usb_phy.h
serial.h USB: serial: increase the number of devices we support 2013-06-17 13:34:15 -07:00
sl811.h
storage.h
tegra_usb_phy.h usb: phy: tegra: Program new PHY parameters 2013-08-12 13:29:52 -05:00
tilegx.h
uas.h
ulpi.h
usb_phy_gen_xceiv.h usb: usb_phy_gen: refine conditional declaration of usb_nop_xceiv_register 2013-10-17 09:34:30 -07:00
usbnet.h USBNET: fix handling padding packet 2013-09-28 15:42:49 -04:00
wusb-wa.h USB: WUSBCORE: clear RPIPE stall for control endpoints 2013-08-15 17:35:31 -07:00
wusb.h