Skip to contentSkip to conversation

Add support for the generic backlight device to the ASUS ACPI driver

PATCH Applied [email protected] 1 participant 1 message Oct 20, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 6/8 Add support for the generic backlight device to the ASUS ACPI driver

From: Holger Macht <[email protected]>

Add support for the generic backlight interface below /sys/class/backlight.
The patch keeps the procfs brightness handling for backward compatibility.

[[email protected]: backlight users need to select BACKLIGHT_CLASS_DEVICE]
Cc "Brown, Len" <[email protected]>

---

 drivers/acpi/Kconfig     |    1 
 drivers/acpi/asus_acpi.c |   62 +++++++++++++++++++++++++++----------
 2 files changed, 47 insertions(+), 16 deletions(-)
drivers/acpi/Kconfig renamed from drivers/acpi/Kconfig~add-support-for-the-generic-backlight-device-to-the-asus-acpi-driver +1 -0
diff -puN drivers/acpi/Kconfig~add-support-for-the-generic-backlight-device-to-the-asus-acpi-driver drivers/acpi/Kconfig
@@ -179,6 +179,7 @@ config ACPI_NUMA
 config ACPI_ASUS
         tristate "ASUS/Medion Laptop Extras"
 	depends on X86
+	select BACKLIGHT_CLASS_DEVICE
         ---help---
           This driver provides support for extra features of ACPI-compatible
           ASUS laptops. As some of Medion laptops are made by ASUS, it may also
drivers/acpi/asus_acpi.c renamed from drivers/acpi/asus_acpi.c~add-support-for-the-generic-backlight-device-to-the-asus-acpi-driver +46 -16

123 lines not on this page · raw message

_