public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] leds-class: change back LEDS_CLASS to tristate instead of bool
@ 2011-09-05 19:09 Bryan Wu
  2011-09-05 19:09 ` [PATCH 2/2] Documentation: leds-class: fix a typo Bryan Wu
  2011-09-05 19:51 ` [PATCH 1/2] leds-class: change back LEDS_CLASS to tristate instead of bool Richard Purdie
  0 siblings, 2 replies; 9+ messages in thread
From: Bryan Wu @ 2011-09-05 19:09 UTC (permalink / raw)
  To: rpurdie, linux, linux-kernel, linus.walleij

LEDS_CLASS is required by leds and trigger drivers, but we can build it
as module. So change this option back as tristate and treak the help
message as well.

Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
 drivers/leds/Kconfig |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index b591e72..1c35927 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -17,10 +17,13 @@ menuconfig NEW_LEDS
 if NEW_LEDS
 
 config LEDS_CLASS
-	bool "LED Class Support"
+	tristate "LED Class Support"
 	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.
+	  need this to do anything useful with LEDs.  If unsure, say M.
+
+	  Note: don't disable it as N, because plenty of led and trigger drivers
+	  are using this option.
 
 comment "LED drivers"
 
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-09-30  9:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 19:09 [PATCH 1/2] leds-class: change back LEDS_CLASS to tristate instead of bool Bryan Wu
2011-09-05 19:09 ` [PATCH 2/2] Documentation: leds-class: fix a typo Bryan Wu
2011-09-05 19:52   ` Richard Purdie
2011-09-07 18:56     ` Randy Dunlap
2011-09-08 17:11     ` Randy Dunlap
2011-09-05 19:51 ` [PATCH 1/2] leds-class: change back LEDS_CLASS to tristate instead of bool Richard Purdie
2011-09-05 20:49   ` Bryan Wu
2011-09-29  8:07   ` Russell King - ARM Linux
2011-09-30  9:09     ` Bryan Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox