Add support for the generic backlight device to the ASUS ACPI driver
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]
Signed-off-by Holger Macht <[email protected]>
Signed-off-by Andy Whitcroft <[email protected]>
Cc "Brown, Len" <[email protected]>
Signed-off-by Andrew Morton <[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
@@ -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
_