Skip to content

Commit 16d7281

Browse files
bwhacksgregkh
authored andcommitted
Partially revert "usb: Kconfig: using select for USB_COMMON dependency"
commit 4d1aa91 upstream. This reverts commit cb9c1cf 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: cb9c1cf ("usb: Kconfig: using select for USB_COMMON dependency") Cc: stable <stable@vger.kernel.org> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> Link: https://lore.kernel.org/r/20210921143442.340087-1-carnil@debian.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5aa003b commit 16d7281

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/usb/common/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ config USB_COMMON
66

77
config USB_LED_TRIG
88
bool "USB LED Triggers"
9-
depends on LEDS_CLASS && LEDS_TRIGGERS
10-
select USB_COMMON
9+
depends on LEDS_CLASS && USB_COMMON && LEDS_TRIGGERS
1110
help
1211
This option adds LED triggers for USB host and/or gadget activity.
1312

0 commit comments

Comments
 (0)