Skip to contentSkip to conversation

RFC [patch] backlight sysfs support for video.c

PATCH Yu Luming 1 participant 1 message Aug 16, 2006 ACPI

lore
Share & tools
lore

Yu Luming

author
#0 lore raw

This patch adds brightness sysfs support for acpi video driver through backlight class. Any comments are appreciated.

--Luming

 Kconfig |    2 +-
 video.c |   50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 50 insertions(+), 2 deletions(-)

-- diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 56c5ba8..d5507ea 100644

drivers/acpi/Kconfig +1 -1
@@ -106,7 +106,7 @@ config ACPI_BUTTON
 
 config ACPI_VIDEO
 	tristate "Video"
-	depends on X86
+	depends on X86 && BACKLIGHT_DEVICE
 	help
 	  This driver implement the ACPI Extensions For Display Adapters
 	  for integrated graphics devices on motherboard, as specified in
drivers/acpi/video.c +49 -1

108 lines not on this page · raw message

Thanks,
Luming