aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hub.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2020-06-18 09:42:54 +0000
committerGreg Kroah-Hartman <[email protected]>2020-06-19 06:58:42 +0000
commit9af54301b643eca4544970037409efc986a47a9c (patch)
treeb866e051b7cadb039a53703a5478a43529f50c6d /drivers/usb/core/hub.c
parentUSB: rename USB quirk to USB_QUIRK_ENDPOINT_IGNORE (diff)
downloadkernel-9af54301b643eca4544970037409efc986a47a9c.tar.gz
kernel-9af54301b643eca4544970037409efc986a47a9c.zip
USB: rename USB OTG hub configuration option
The USB OTG code has the ability to disable external hubs, but the configuration option for it is oddly named. Rename it to be more obvious as to what it does. Cc: Thomas Bogendoerfer <[email protected]> Cc: Bin Liu <[email protected]> Cc: Paul Cercueil <[email protected]> Cc: Alan Stern <[email protected]> Cc: Eugeniu Rosca <[email protected]> Cc: Kai-Heng Feng <[email protected]> Cc: David Heinzelmann <[email protected]> Cc: "Lee, Chiasheng" <[email protected]> Cc: Keiya Nobuta <[email protected]> Cc: Hardik Gajjar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/hub.c')
-rw-r--r--drivers/usb/core/hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index b1e14beaac5f..ab26ac0147f7 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1834,7 +1834,7 @@ static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id)
return -E2BIG;
}
-#ifdef CONFIG_USB_OTG_BLACKLIST_HUB
+#ifdef CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB
if (hdev->parent) {
dev_warn(&intf->dev, "ignoring external hub\n");
return -ENODEV;