From eafe3644bd128f14e328a8274fc905164bc4e206 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 10 May 2007 10:44:11 +0100 Subject: [PATCH] --- yaml --- r: 62618 b: refs/heads/master c: 66242f7ec531953fbc2f4040c5ffe1f1ffe6c5c9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/leds/Kconfig | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index e9fb13b73d26..1d580264eadf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 00852279af5ad26956bc7f4d0e86fdb40192e542 +refs/heads/master: 66242f7ec531953fbc2f4040c5ffe1f1ffe6c5c9 diff --git a/trunk/drivers/leds/Kconfig b/trunk/drivers/leds/Kconfig index 9ce3ca109c2f..4468cb3a8d24 100644 --- a/trunk/drivers/leds/Kconfig +++ b/trunk/drivers/leds/Kconfig @@ -1,9 +1,6 @@ - -menu "LED devices" - depends on HAS_IOMEM - -config NEW_LEDS +menuconfig NEW_LEDS bool "LED Support" + depends on HAS_IOMEM help Say Y to enable Linux LED support. This allows control of supported LEDs from both userspace and optionally, by kernel events (triggers). @@ -11,9 +8,10 @@ config NEW_LEDS This is not related to standard keyboard LEDs which are controlled via the input system. +if NEW_LEDS + config LEDS_CLASS tristate "LED Class Support" - depends on NEW_LEDS help This option enables the led sysfs class in /sys/class/leds. You'll need this to do anything useful with LEDs. If unsure, say N. @@ -107,7 +105,6 @@ comment "LED Triggers" config LEDS_TRIGGERS bool "LED Trigger support" - depends on NEW_LEDS help This option enables trigger support for the leds class. These triggers allow kernel events to drive the LEDs and can @@ -136,5 +133,4 @@ config LEDS_TRIGGER_HEARTBEAT load average. If unsure, say Y. -endmenu - +endif # NEW_LEDS