Skip to contentSkip to conversation

usb: chipidea: Don't select EXTCON

PATCH Superseded Jisheng Zhang 1 participant 1 message Mar 29, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: chipidea: Don't select EXTCON

Not all chipidea users need EXTCON, so it's better to avoid unconditionally select EXTCON, this could save us 2KB kernel Image size.

---
 drivers/usb/chipidea/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/chipidea/Kconfig +0 -1
index 785f0ed037f7..97509172d536 100644
@@ -1,7 +1,6 @@
 config USB_CHIPIDEA
 	tristate "ChipIdea Highspeed Dual Role Controller"
 	depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
-	select EXTCON
 	select RESET_CONTROLLER
 	help
 	  Say Y here if your system has a dual role high speed USB