summaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorCorentin Chary <corentincj@iksaif.net>2007-01-26 14:04:45 +0100
committerLen Brown <len.brown@intel.com>2007-01-30 01:37:04 -0500
commit6b7091e74fe176da97917ca60524e2b3554305f0 (patch)
tree384dca7c48096db55fa0a57e6c4fc8e55c86d96e /drivers/misc/Kconfig
parent4564de172dcdce641c0d6c689e79e95b5f6bee2c (diff)
downloadblackbird-op-linux-6b7091e74fe176da97917ca60524e2b3554305f0.tar.gz
blackbird-op-linux-6b7091e74fe176da97917ca60524e2b3554305f0.zip
asus-laptop: add backlight support
Adds backlight support using backlight class. We now change the brightness *and toggle the backlight !* via /sys/class/backlight/asus-laptop/. If the user switchs the backlight using the keyboard, asus_hotk_notify looks for ATKD_LCD_OFF and ATKD_LCD_ON events, and stores the right state into hotk->status and bd->props->power . 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 87e1db8ffd47..89bba277da5f 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -75,6 +75,7 @@ config ASUS_LAPTOP
depends on ACPI
depends on EXPERIMENTAL && !ACPI_ASUS
depends on LEDS_CLASS
+ depends on BACKLIGHT_CLASS_DEVICE
---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
OpenPOWER on IntegriCloud