From c4d46f24c08531aa9f8f9af740d0ceb41fadce9f Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Wed, 11 Jan 2017 04:30:40 +0000 Subject: [PATCH] Partially revert "usb: Kconfig: using select for USB_COMMON dependency" This reverts commit cb9c1cfc86926d0e86d19c8e34f6c23458cd3478 for USB_LED_TRIG. This config symbol has bool type and enables extra code in usb_common itself, not a separate driver. Enabling it should not force usb_common to be built-in! Fixes: cb9c1cfc8692 ("usb: Kconfig: using select for USB_COMMON dependency") Signed-off-by: Ben Hutchings Gbp-Pq: Topic bugfix/all Gbp-Pq: Name partially-revert-usb-kconfig-using-select-for-usb_co.patch --- drivers/usb/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index e4b27413f52..7c652feba1a 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig @@ -176,8 +176,7 @@ source "drivers/usb/roles/Kconfig" config USB_LED_TRIG bool "USB LED Triggers" - depends on LEDS_CLASS && LEDS_TRIGGERS - select USB_COMMON + depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS help This option adds LED triggers for USB host and/or gadget activity. -- 2.30.2