diff options
-rw-r--r-- | drivers/leds/Kconfig | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 9ce3ca109c2f..4468cb3a8d24 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -1,9 +1,6 @@ | |||
1 | 1 | menuconfig NEW_LEDS | |
2 | menu "LED devices" | ||
3 | depends on HAS_IOMEM | ||
4 | |||
5 | config NEW_LEDS | ||
6 | bool "LED Support" | 2 | bool "LED Support" |
3 | depends on HAS_IOMEM | ||
7 | help | 4 | help |
8 | Say Y to enable Linux LED support. This allows control of supported | 5 | Say Y to enable Linux LED support. This allows control of supported |
9 | LEDs from both userspace and optionally, by kernel events (triggers). | 6 | LEDs from both userspace and optionally, by kernel events (triggers). |
@@ -11,9 +8,10 @@ config NEW_LEDS | |||
11 | This is not related to standard keyboard LEDs which are controlled | 8 | This is not related to standard keyboard LEDs which are controlled |
12 | via the input system. | 9 | via the input system. |
13 | 10 | ||
11 | if NEW_LEDS | ||
12 | |||
14 | config LEDS_CLASS | 13 | config LEDS_CLASS |
15 | tristate "LED Class Support" | 14 | tristate "LED Class Support" |
16 | depends on NEW_LEDS | ||
17 | help | 15 | help |
18 | This option enables the led sysfs class in /sys/class/leds. You'll | 16 | This option enables the led sysfs class in /sys/class/leds. You'll |
19 | need this to do anything useful with LEDs. If unsure, say N. | 17 | need this to do anything useful with LEDs. If unsure, say N. |
@@ -107,7 +105,6 @@ comment "LED Triggers" | |||
107 | 105 | ||
108 | config LEDS_TRIGGERS | 106 | config LEDS_TRIGGERS |
109 | bool "LED Trigger support" | 107 | bool "LED Trigger support" |
110 | depends on NEW_LEDS | ||
111 | help | 108 | help |
112 | This option enables trigger support for the leds class. | 109 | This option enables trigger support for the leds class. |
113 | These triggers allow kernel events to drive the LEDs and can | 110 | These triggers allow kernel events to drive the LEDs and can |
@@ -136,5 +133,4 @@ config LEDS_TRIGGER_HEARTBEAT | |||
136 | load average. | 133 | load average. |
137 | If unsure, say Y. | 134 | If unsure, say Y. |
138 | 135 | ||
139 | endmenu | 136 | endif # NEW_LEDS |
140 | |||