aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/otg_whitelist.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/core/otg_whitelist.h')
-rw-r--r--drivers/usb/core/otg_whitelist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/otg_whitelist.h b/drivers/usb/core/otg_whitelist.h
index a95b0c989c21..085049d37d7a 100644
--- a/drivers/usb/core/otg_whitelist.h
+++ b/drivers/usb/core/otg_whitelist.h
@@ -38,7 +38,7 @@ static struct usb_device_id whitelist_table[] = {
{ USB_DEVICE(0x0525, 0xa4a2), },
#endif
-#if defined(CONFIG_USB_TEST) || defined(CONFIG_USB_TEST_MODULE)
+#if IS_ENABLED(CONFIG_USB_TEST)
/* gadget zero, for testing */
{ USB_DEVICE(0x0525, 0xa4a0), },
#endif