mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
r8169: make Kconfig option for LED support user-visible
Make config option R8169_LEDS user-visible, so that users can remove support if not needed. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/d29f0cdb-32bf-435f-b59d-dc96bca1e3ab@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
51773846fa
commit
135c3c86a7
|
|
@ -114,7 +114,8 @@ config R8169
|
|||
will be called r8169. This is recommended.
|
||||
|
||||
config R8169_LEDS
|
||||
def_bool R8169 && LEDS_TRIGGER_NETDEV
|
||||
bool "Support for controlling the NIC LEDs"
|
||||
depends on R8169 && LEDS_TRIGGER_NETDEV
|
||||
depends on !(R8169=y && LEDS_CLASS=m)
|
||||
help
|
||||
Optional support for controlling the NIC LED's with the netdev
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user