summaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorCorentin Chary <corentincj@iksaif.net>2007-01-26 14:04:35 +0100
committerLen Brown <len.brown@intel.com>2007-01-30 01:37:00 -0500
commitbe18cdabb8ed40ff4b8a240e0d6f4e6c30ff866d (patch)
treed0ca8b148430db06d3b428a3cdf905c4434fab2e /drivers/misc/Kconfig
parent85091b718969be7b8e6f795af7e264b8afcd7a6d (diff)
downloadlinux-be18cdabb8ed40ff4b8a240e0d6f4e6c30ff866d.tar.bz2
asus-laptop: add led support
Add led support, using generic led class. Thomas Tuttle's patch <http://lkml.org/lkml/2006/7/6/247> was very usefull. We use hotk->status to store led status because it's very hard to find acpi method to get the right status... To reduce the code, I use a lot of macro (ASUS_LED, ASUS_LED_REGISTER, etc ...), because the code is the same for all leds ... Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/Kconfig')
-rw-r--r--drivers/misc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 4b1e367e8feb..87e1db8ffd47 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -74,6 +74,7 @@ config ASUS_LAPTOP
depends on X86
depends on ACPI
depends on EXPERIMENTAL && !ACPI_ASUS
+ depends on LEDS_CLASS
---help---
This is the new Linux driver for Asus laptops. It may also support some
MEDION, JVC or VICTOR laptops. It makes all the extra buttons generate