summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/usb_phy_gen_xceiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/usb/usb_phy_gen_xceiv.h')
-rw-r--r--include/linux/usb/usb_phy_gen_xceiv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/usb_phy_gen_xceiv.h b/include/linux/usb/usb_phy_gen_xceiv.h
index f9a7e7bc925b..11d85b9c1b08 100644
--- a/include/linux/usb/usb_phy_gen_xceiv.h
+++ b/include/linux/usb/usb_phy_gen_xceiv.h
@@ -12,7 +12,7 @@ struct usb_phy_gen_xceiv_platform_data {
unsigned int needs_reset:1;
};
-#if IS_ENABLED(CONFIG_NOP_USB_XCEIV)
+#if defined(CONFIG_NOP_USB_XCEIV) || (defined(CONFIG_NOP_USB_XCEIV_MODULE) && defined(MODULE))
/* sometimes transceivers are accessed only through e.g. ULPI */
extern void usb_nop_xceiv_register(void);
extern void usb_nop_xceiv_unregister(void);
OpenPOWER on IntegriCloud